TravelyfeHelp
开发者ReferenceDocuments

Remove A Document's Details

DELETE
/v1/app/library/{id}/documents/{documentId}

Removes one of your documents from an itinerary; done whether or not it was there. Its file is removed at /v1/itineraries/{id}/documents/{documentId}/file.

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
documentId*string

The document id.

Response Body

application/json

application/json

application/json

application/json

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