Document Access
Admin Update Document
Changed onAllows account admins to update custom tags and classification on any document in their account.
patch/v1/accounts/me/documents/{id}
Request
- Base URLhttps://api.lucid.co
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://lucid.app/oauth2/authorizeToken URLhttps://api.lucid.co/oauth2/tokenScopeslucidchart.document.content:admin, lucidscale.document.content:admin, lucidspark.document.content:admin, lucid.document.content:admin
Path parameters
idstring uuid required
ID of the document to update.
Request body
Example request
{
"customTags": [
"in progress"
],
"classificationId": "1cdad938-bf0f-4a0c-a2f8-bf4eb94225ce"
}Response
OK with Document resource containing information about the updated document.
Example response
{
"documentId": "110808fd-4553-4316-bccf-4f25ff59a532",
"title": "document title",
"editUrl": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/edit",
"viewUrl": "https://lucid.app/lucidchart/110808fd-4553-4316-bccf-4f25ff59a532/view",
"version": 101,
"pageCount": 5,
"canEdit": false,
"created": "2019-04-22T13:47:23Z",
"creatorId": 12345,
"lastModified": "2020-06-26T16:29:37Z",
"lastModifiedUserId": 54321,
"customAttributes": [],
"customTags": [
"in progress"
],
"product": "lucidchart",
"status": "Complete",
"classification": "Private",
"trashed": null,
"parent": null,
"repository": null,
"owner": {
"id": 123456,
"type": "user",
"name": "John Doe"
},
"accountId": 1234
}Changes
- info
endpoint added
- info