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>" }
Updates an existing document’s content and/or title
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The UUID of the document to update
Document update data
Document update data. At least one of title or html must be provided.
The new title for the document.
The new HTML content for the document.
Document updated successfully