Update a travel document

Partially update a travel document by its stable Mercury UUID. Only include fields you want to change; omitted fields keep their current values. Null values return 422 (upstream provider cannot clear fields). Concurrent PATCHes are last-write-wins.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
uuid
required
Body Params

Partial update body for PATCH /v1/profile/documents/{id}.

All fields are optional. Only supplied fields override the existing
document; omitted fields retain their current values.

noExpiry / expiryDate rules (for this PATCH request):

  • noExpiry:true → clears the expiry date (document becomes permanent).
    expiryDate must be omitted or null when noExpiry:true.
  • noExpiry:true + a real expiryDate → 422 (mutually exclusive).
  • expiryDate:null explicitly set without noExpiry:true
    → 422 (use noExpiry flag).

boolean
Defaults to false

Set to true to clear the expiry date (mark document as permanent). Mutually exclusive with providing a real expiryDate.

Responses

401

Missing or invalid authentication token

403

Provider refused the request (resolved deny)

404

Travel document not found

422

Validation failed

503

Travel documents service is temporarily unavailable

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json