Update a document

updates a single document, for only the body and title

Authentication

AuthorizationBearer

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

Path parameters

spaceIdstringRequired
ID of space to return
documentIdstringRequired
ID of document to return

Headers

X-Disable-Hooks"true"RequiredDefaults to true

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