API Calendar Details (DELETE)
DELETE https://www.appointment.one/api/v1/calendar/CALENDAR_ID
The calendar details delete request is used to delete a calendar connected to the authenticated account.
Parameters
none
Response Codes
Expect the following http respond codes:
- 200 - Success
- 401 - Authentication failure. Occurs if the Authentication header is misused, if the API key has been revoked, or if the user/account is no longer active on Appointment.one
- 401 - Unauthorized. Occurs if the API key has insufficient permission to make changes
- 404 - Specified calendar cannot be found
Response Values
id
- Calendar unique IDstatus
- Calendar status. Will always bedeleted
Example Response
Returns a json object with the following makeup.
{
"id": "test1@example.com",
"status": "deleted"
}
Examples
curl
> curl -vk \
-H 'Content-Type: application/json' \
-H 'Authorization: API_KEY_HERE' \
-X DELETE 'https://www.appointment.one/api/v1/calendar/CALENDAR_ID'
python
>>> import requests
>>> r = requests.delete('https://www.appointment.one/api/v1/calendar/CALENDAR_ID',
headers= {'Authorization': 'API_KEY_HERE'})
We're doing amazing things at Appointment.one. Experience simple scheduling without email tag or double booking.