Skip to main content
DELETE
Delete Role

Authorizations

x-client-key
string
header
required
x-client-secret
string
header
required

Path Parameters

workspaceId
string<uuid>
required

UUID of the workspace. Must be your key's own workspace.

Example:

"cb363f7e-c52a-4478-911d-f6a6f791090e"

roleId
string
required

ID of the role.

Example:

"4ccf0b65-fb99-40da-92d6-3f98730df8b2"

Body

application/json
newRoleId
string<uuid>
required

Active role in the same workspace that takes over this role's users. Must differ from roleId.

Example:

"9a1e6b0f-3c2d-4e5f-8a7b-6c5d4e3f2a1b"

Response

Role deleted.