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.

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.
newRoleIdUUID or nullOptional

The id of the role to which all users of the old role will be moved.

Response

No Content