Update a document

PATCH

updates a single document, for only the body and title

Path parameters

spaceIdstringRequired

ID of space to return

documentIdstringRequired

ID of document to return

Headers

X-Disable-Hooks"true"Required

Request

This endpoint expects an object.
titlestringRequired
bodystringRequired
treatmentslist of stringsOptional

Certain treatments will cause your Document to look or behave differently.

actionslist of objectsOptional

Response

This endpoint returns an object.
dataobject

A document (markdown components) belong to a space

Errors