Update a document

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

AuthorizationstringRequired

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

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