TravelyfeHelp
DevelopersAPI ReferenceDocuments

Delete A Document

DELETE
/v1/itinerary/{id}/document/{docId}

Deletes a document and its file. Documents are encrypted on the traveller's own devices before upload; the server only ever holds the sealed file and never its contents. Requires Travelyfe Pro.

AuthorizationBearer <token>

A Travelyfe access token.

In: header

Path Parameters

id*string

The itinerary id (UUID).

Formatuuid
docId*string

The document id.

Response Body

application/json

application/json

application/json

application/json

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