Ledga
DELETE/account-sets/{accountSetId}

Delete an account set

Remove the specified account set

Parameters

NameInTypeDescription
accountSetIdrequired path string
uuid
Account Set UUID

Responses

200Account set deleted
{
  "success": true,
  "data": {
    "id": "01997c1e-4d2a-7c3e-9a1b-2f0e8c6d4b5a"
  }
}
401Unauthenticated
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
403Forbidden
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}
404Account set not found
{
  "success": false,
  "message": "Validation failed",
  "code": "VALIDATION_ERROR"
}

Examples

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

← All endpoints