PUT
/
docs
/
{uuid}
cURL
curl --request PUT \
  --url https://lex.page/api/v1/docs/{uuid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "title": "<string>",
  "html": "<string>"
}'
This response does not have an example.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

uuid
string<uuid>
required

The UUID of the document to update

Body

application/json

Document update data

Document update data. At least one of title or html must be provided.

title
string
required

The new title for the document.

html
string

The new HTML content for the document.

Response

Document updated successfully