Skip to main content
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>"
}
'
{
  "error": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.lex.page/llms.txt

Use this file to discover all available pages before exploring further.

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