Delete Role

Delete a custom role. Users assigned to the deleted role will be automatically reassigned to the ReadOnly role.

DELETE/organizations/roles/{role_id}

Delete a custom role. Users assigned to this role will be reassigned to ReadOnly.

Path Parameters

role_idstringrequired

The unique identifier of the role to delete.

Response

No Content - Successfully deleted

Request
curl -X DELETE "https://api-sandbox.whitelabel.com/v1/organizations/roles/<role_id>" \
  -H "PUBLIC-API-KEY: <PUBLIC-API-KEY>" \
  -H "PRIVATE-SECRET-KEY: <PRIVATE-SECRET-KEY>"
Response
(no body)