Skip to content

Delete a sub-account

Request

Removes a sub-account. The account and its records are retained rather than erased, but no endpoint restores them, so treat this as final.

Security
default
Path
idintegerrequired

The ID of the account.

Headers
Rosterfy-Platformstring
curl -i -X DELETE \
  'https://developer.rosterfy.com/_mock/api-docs/openapi/api/v2/account/{id}' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Rosterfy-Platform: admin'

Responses

No content, successful deletion

Bodyapplication/json
object or null
Response
{}