v1
guests
{id}
documents
{docId}
bearer
In: header
header
application/json
TypeScript Definitions
Use the request body type in TypeScript.
curl -X PATCH "https://example.com/v1/guests/string/documents/string" \ -H "Content-Type: application/json" \ -d '{}'
Update the document type (e.g. to mark as a specific ID type)
"passport" | "national_id" | "driver_license" | "work_permit" | "visa" | "other"
Update the document status (use 'pending' to confirm a presigned upload completed)
"pending" | "uploading"