The ID of the organization to delete.
Response
Indicates whether the call was successful. success if successful, error if not.
A message indicating the result of the operation (e.g., ORGANIZATION_DELETED).
{
"status": "success",
"message": "ORGANIZATION_DELETED"
}
Error Responses
Indicates whether the call was successful. error if not successful.
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"
}