DELETE
/
v2
/
booking
curl --request DELETE \
  --url https://api.sonderplan.com/v2/booking \
  --header 'Authorization: Bearer <token>'
{
  "success": {
    "id": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
integer
required

The ID of the booking to delete

notify_user_resources
boolean
default:true

Specifies if user resources (resources with a contact attached) should be sent an email notification about the deleted booking

repeat_delete_scope
enum<string>

If deleting a repeat booking, specifies if other repeats should be deleted as well, specifically to all, future or just the single booking. Default is single

Available options:
single,
future,
all

Response

200
application/json
Successful Operation
success
object