v68

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0144101120.9 KB
Documents

Update document permissions

Updates the permissions for a given document without modifying document content.

post/api/index/v1/updatepermissions

Request body

datasourcestring required
objectTypestring

The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _

idstring

The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length.

viewURLstring

The permalink for viewing the document. Note: viewURL is a required field if id was not set when uploading the document.'

Response

OK