DELETE /api/v2/accounts/{customerId}
Permanently deletes an account under your organization. Only CHILD-type accounts can be deleted, and the caller must be an ADMIN on the organization. The call refuses with 409 if the account still has linked resources — unwind those first.
Request
curl
Parameters
| Field | Type | Required | Notes |
|---|---|---|---|
customerId | string | Yes | Path parameter. ID of the account to delete |
Response
204 No Content. The account is removed; there is no response body.
Errors
401 UNAUTHORIZED— caller is not anADMINon the organization.409 CONFLICT— the account still has linked resources.
Related
Account tasks
All account operations
Create account
Provision a new account
List accounts
Find the account ID