• Tour
  • Features
  • Pricing
  • Blog
  • Support
  • Create Account
  • Login
  1. Support
  2. API
  3. API Event Details (DELETE)

API Event Details (DELETE)

DELETE https://www.appointment.one/api/v1/event/EVENT_ID

The event details delete request is used to delete an event.

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 event cannot be found

Response Values

  • id - Event unique ID
  • status - Event status. Will always be deleted

Example Response

Returns a json object with the following makeup.

{
  "id": "30min",
  "status": "deleted"
}

Examples

curl

> curl -vk \
       -H 'Content-Type: application/json' \
       -H 'Authorization: API_KEY_HERE' \
       -X DELETE 'https://www.appointment.one/api/v1/event/EVENT_ID'

python

>>> import requests

>>> r = requests.delete('https://www.appointment.one/api/v1/event/EVENT_ID', 
                    headers= {'Authorization': 'API_KEY_HERE'})

We're doing amazing things at Appointment.one. Experience simple scheduling without email tag or double booking.


or click to learn more about Appointment.one.

Appointment.one

  • About
  • Login
  • Tour
  • Pricing
  • Support
  • Create Account
Recent Posts
Contact Us
  • info@Appointment.one
  • (612) 367-7574
  • @AppointmentOne

The preferred scheduling tool used by

  • Individuals, Teams, Groups
  • Insurance Agents, Tax Professionals, Recruiters, Freelancers,
Terms of Service · Privacy Policy ·

Copyright © 2022