Update document permissions
Updates the permissions for a given document without modifying document content. This endpoint is not yet generally available. Please contact Glean support to enable this feature.
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
Describes the request body of the /updatepermissions API call
The permissions that define who can view this document in the search results. Please refer to this for more details.
The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _
The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length.
The permalink for viewing the document. Note: viewURL is a required field if id was not set when uploading the document.'
Response
OK
Was this page helpful?