Ledga
DELETE/accounts/{accountId}

Delete an account

Remove the specified account

Parameters

NameInTypeDescription
accountIdrequired path string
uuid
Account UUID

Responses

200Account deleted successfully
{
  "success": true
}
401Unauthenticated
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
403Forbidden
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
404Account not found
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}

Examples

curl -X DELETE https://ledga.io/api/v1/accounts/{accountId} \
  -H "Authorization: Bearer sk_xxxxxxxx_your_secret"

← All endpoints