DevelopersAPI ReferenceDocuments
Rename A Document
Changes a document's name or kind. 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).
Format
uuiddocId*string
The document id.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/v1/itinerary/497f6eca-6276-4993-bfeb-53cbbbba6f08/document/string" \ -H "Content-Type: application/json" \ -d '{}'{ "id": "string", "name": "string", "kind": "string", "mimeType": "string", "size": 0, "url": "http://example.com"}