DELETE
/
v1
/
organizations
/
{id}
Delete Organization
curl --request DELETE \
  --url https://api.vertracloud.app/v1/organizations/{id} \
  --header 'Authorization: Bearer <token>'
{
  "status": "success",
  "message": "ORGANIZATION_DELETED"
}
id
string
required
The ID of the organization to delete.

Response

status
string
Indicates whether the call was successful. success if successful, error if not.
message
string
A message indicating the result of the operation (e.g., ORGANIZATION_DELETED).
{
  "status": "success",
  "message": "ORGANIZATION_DELETED"
}

Error Responses

status
string
Indicates whether the call was successful. error if not successful.
code
string
The error code indicating the reason for failure. Possible values:
  • UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.
  • ORGANIZATION_NOT_FOUND: The specified organization does not exist or the user is not the owner.
{
  "status": "error",
  "code": "UNAUTHORIZED"
}