Assign a role to a user
PUT/roles/:roleId/users/:username
Assigns a role to a user.
Request
Responses
- 204
- 400
- 403
- 404
- 409
- 500
- 503
The role was assigned successfully to the user.
The provided data is not valid.
Forbidden. The request is not allowed.
The role or user with the given ID or username was not found.
The role is already assigned to the user with the given ID.
An internal error occurred while processing the request.
The service is currently unavailable. This may happen only on some requests where the system creates backpressure to prevent the server's compute resources from being exhausted, avoiding more severe failures. Clients are recommended to eventually retry those requests after a backoff period. You can learn more about the backpressure mechanism here: https://docs.camunda.io/docs/components/zeebe/technical-concepts/internal-processing/#handling-backpressure .