v1

latestOpenAPI 3.1.02026-08-066984441.1 MB
roles

Deletes 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}/delete

Path parameters

roleIdstring uuid required

The id of the role.

Headers

Authorizationstring required

Bearer authentication

Request body

newRoleIdstring uuid nullable

The id of the role to which all users of the old role will be moved. Required if there are users assigned to the role being deleted.

Response

No Content

object required