Removes a role. Anyone holding it loses it, and their active API tokens are terminated. A person left with no role at all is no longer an administrator of the account.
Security
default
- Mock serverhttps://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/account/role/{id}
- Your Rosterfy accounthttps://example.rosterfy.com/api/v2/account/role/{id}
curl -i -X DELETE \
'https://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/account/role/{id}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Rosterfy-Platform: admin'