Deletes the role with the specified id.

If there are still users in this role an id of a different role must be specified to move the users to that role. <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 delete model for roles.
newRoleIdstring or nullOptionalformat: "uuid"
The id of the role to which all users of the old role will be moved.

Response

No Content