Accounts

Delete account

Delete a workspace account.

By default the request fails with 400 when the workspace has an active paid subscription — the restrictions array in the response lists each blocker by code so you can address them individually before retrying. Pass force: true to cancel any active paid subscription automatically and proceed with immediate deletion.

Copy as Markdown Open in ChatGPT Open in Claude

delete/v1/accounts/{accountId}

Request

  • Base URL
    https://api.assinafy.com.br
  • URL
    https://api.assinafy.com.br/v1/accounts/{accountId}
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key

Path parameters

accountIdstring required

Workspace account ID.

Request body

forceboolean

When true, cancels any active paid subscription on this workspace and proceeds with deletion immediately. Defaults to false.

Response

Account deleted

statusinteger

HTTP status code, mirrored in the body.

messagestring

Human-readable message; empty on success.

Example response

{
  "status": 200,
  "data": []
}

Changes

No recorded changes to this operation across all 14 revisions of this API.