Adds the user to the Role with the specified id.

Adds the user to the Role with the specified id. <Check title="Required Permissions">The user must be an admin or have `workspace-manage-config:write` permissions.</Check>

Authentication

AuthorizationBearer

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

Path parameters

roleIdstringRequiredformat: "uuid"
The id of the role.

Request

The model to add the user to the role.
userIdstringOptionalformat: "uuid"
The id of the user to add to the role.

Response

OK