Skip to content

Delete a role

Request

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
Path
idintegerrequired

The ID of the role.

Headers
Rosterfy-Platformstring
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'

Responses

No content, successful deletion

Bodyapplication/json
object or null
Response
{}