Delete Calendar Event

Prev Next
Post
/api/v1/calendar-events.delete

Delete a specific calendar event.

Header parameters
X-Auth-Token
stringRequired

The authToken of the authenticated user.

ExampleRScctEHSmLGZGywfIhWyRpyofhKOiMoUIpimhvheU3f
X-User-Id
stringRequired

The userId of the authenticated user.

ExamplerbAXPnMktTFbNpwtJ
Body parameters
Example 1
{
  "eventId": "6909b8ea4e7e8bcf6985b1a8"
}
object
eventId
string Required

Enter the event ID that you want to delete.

Example6909b8ea4e7e8bcf6985b1a8
Responses
200

OK

Success
{
  "success": true
}
object
success
boolean
400

Bad Request

Example 1
{
  "success": false,
  "error": "invalid-calendar-event"
}
object
success
boolean
error
string
401

Unauthorized

Authorization Error
{
  "status": "error",
  "message": "You must be logged in to do this."
}
object
status
string
message
string