Skip to main content
PUT
Update Document

Authorizations

x-api-token
string
header
required

API key authentication

Path Parameters

id
string
required

Unique ID of the document to update

Body

application/json
value
object

The main data of the document, can be any type (string, object, array, etc.)

Example:
metadata
object

Additional metadata for the document

status
enum<string>

Updated status of the document

Available options:
active,
draft,
archived

Response

Document updated successfully

data
object
message
string

Success message

Example:

"document updated"

status
boolean

Operation status

Example:

true