(Quick Reference) Service: Delete an appointment

Description: Returns a json response.

URL:

https://BASE_URL/api/VERSION/appointments/{id}

URL with external_id :

https://BASE_URL/api/VERSION/appointments/reference/{id}

Method: DELETE

Parameters:

NameDescriptionTypeRequiredExample values
idThe ID of the desired appointmentLong/Stringyes123

Success Output

Success case: response.status = 200

{
  "success": "true",
  "success_description": "Instance deleted successfully"
}

Failure Output

Failure case:response.status = 400

{
  "error": "delete_failed",
  "error_description": "Failed to delete instance."
}

Failure case:response.status = 404

{
  "error": "not_found",
  "error_description": "The appointment with the id 706 doesn't exist."
}