Skip to main content
PATCH
Update document

Authorizations

X-API-Key
string
header
required

Your organization API key. See Authentication.

Headers

Idempotency-Key
string

Optional retry key. Check X-Idempotency-Applied before relying on replay protection.

Required string length: 1 - 255

Path Parameters

document_id
string
required

ID of the document.

Minimum string length: 1

Body

application/json
filename
string

File name, including the extension.

Required string length: 1 - 512
file_directory
string

Folder to move the document to.

Maximum string length: 1024

Response

The request succeeded.

data
object
required

A document. id is doc_<uuid>.