Skip to content

Delete trip

Request

This endpoint deletes a trip by ID.

Security
Bearer
Path
tripIdstringrequired

Trip ID

Example:6926658168
Bodyapplication/json
allowEmptyTripDeletionOnlyboolean

If true, only allows deletion of empty trips (trips with no PNRs). If false (default), allows deletion regardless of PNRs.

Default:false
curl -i -X DELETE \
  https://api-ext-sboxmeta.partners.spotnana.com/v3/trips/6926658168 \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "allowEmptyTripDeletionOnly": false
  }'

Responses

Deleted Successfully

Response
No content