Adds the user to the Role with the specified id.

Adds the user to the Role with the specified id.

Required Permissions
The user must be an admin or have workspace-manage-config:write permissions.

Path parameters

roleIdUUIDRequired

The id of the role.

Headers

AuthorizationstringRequired

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
userIdUUIDOptional

The id of the user to add to the role.

Response

OK