documents
Updates the specified document content.
Changed onUpdates document content using UTF-8 HTML or Markdown. Set contentFormat to html or markdown; HTML is the default. Exported Markdown uses hidden metadata to preserve safe editor structures during re-import. <Check title="Required Permissions" icon="key">The user must have at least write permission for the specified document.</Check>
put/documents/{documentId}/content
Request
- Base URL: https://api.awork.com/api/v1
- URL: https://api.awork.com/api/v1/documents/{documentId}/content
- Auth: HTTP bearer
Path parameters
documentIdstring uuid required
The id of the document to update.
Request body multipart/form-data
Response
OK
Changes
- warning
deleted the
headerrequest parameterAuthorization - info
the endpoint scheme security
oauth2was added to the API
- warning
- info
api operation id
PutDocumentContentByDocumentIdremoved and replaced withdocuments_PutDocumentContentByDocumentId
- info