v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
roles

Adds the user to the role with the specified id.

<Check title="Required Permissions" icon="key">The user must be an admin or have workspace-manage-config:write permissions.</Check>

post/roles/{roleId}/adduser

Path parameters

roleIdstring uuid required

The id of the role.

Headers

Authorizationstring required

Bearer authentication

Request body

userIdstring uuid required

The id of the user to add to the role.

Response

OK

RolesPostRoleAddUserByRoleIdResponse200 required

Empty response body