Skip to main content

Bulk create grants for a user

POST 

/user/:id/grant

Create multiple grants for a user in a single request. This operation is additive - it adds new grants without affecting existing ones.

The operation is transactional: if any grant fails validation, no grants are created.

You can use either role_id or role_slug for each grant in the request.

Request

Responses

All grants were created successfully.