DELETE
/
accounts
/
{account_id}
curl --request DELETE \
  --url https://api.sandbox.goteal.co/accounts/{account_id} \
  --header 'X-API-KEY: <api-key>'
{
  "message": "Account deleted successfully."
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

account_id
string
required

ID of the account to delete

Response

204
application/json
No Content
message
string
Example:

"Account deleted successfully."