cURL
curl --request DELETE \ --url https://api.xenia.team/api/v1/mgt/workspaces/{workspaceId}/roles/{roleId} \ --header 'Content-Type: application/json' \ --header 'x-client-key: <api-key>' \ --header 'x-client-secret: <api-key>' \ --data ' { "newRoleId": "a0bb13ef-7362-41b2-9947-a9146adb243d" } '
{ "data": 1, "meta": {} }
Client API key for authentication
Client secret for authentication
Workspace ID
ID of the role to delete
Role ID to which existing users will be reassigned
Role deleted and users reassigned
Number of affected records