Delete an appointment type

DELETE {{baseUrl}}/appointment_types/:id?subdomain={{subdomain}}&location_id={{location_id}}

Request Params

KeyDatatypeRequiredDescription
subdomainstring(Required) Used to scope the request to the specified institution
location_idstringId of the associated location, required when appointment types are location specific

HEADERS

KeyDatatypeRequiredDescription
Acceptstring

RESPONSES

status: OK

{"code":"\u003cboolean\u003e","description":"\u003cstring\u003e","error":["\u003cstring\u003e","\u003cstring\u003e"],"data":{"id":"\u003cinteger\u003e","name":"\u003cstring\u003e","parent_type":"\u003cstring\u003e","parent_id":"\u003cinteger\u003e","minutes":"\u003cinteger\u003e","bookable_online":"\u003cboolean\u003e"},"count":"\u003cinteger\u003e"}