TravelyfeHelp
DevelopersReferenceSharing

Remove Someone Or Leave

DELETE
/v1/itineraries/{id}/people/{userId}

Removes someone, or leaves the itinerary when it is your own id.

Only available to the Travelyfe apps. Tokens issued to other apps receive forbidden.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Path Parameters

id*string

The itinerary id (UUID).

Formatuuid
userId*string

Their user id.

Response Body

application/json

application/json

application/json

application/json

curl -X DELETE "https://example.com/v1/itineraries/497f6eca-6276-4993-bfeb-53cbbbba6f08/people/string"
Empty