Delete an appointment
DELETE
/api/v1/dealerships/{dealership_id}/appointments/{id}
const url = 'https://dashboard.dealerstudio.com.au/api/v1/dealerships/example/appointments/1';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://dashboard.dealerstudio.com.au/api/v1/dealerships/example/appointments/1 \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” dealership_id
required
string
Dealership ID/Slug
id
required
integer
Appointment ID
Responses
Section titled “ Responses ”Appointment deleted
Unauthorised for Invalid token
Unauthorised dealership