Describes the request body of the /updatepermissions API call
| Field | Type | Required | Description |
|---|---|---|---|
Datasource |
string |
✔️ | N/A |
ObjectType |
*string |
➖ | The type of the document (Case, KnowledgeArticle for Salesforce for example). It cannot have spaces or _ |
ID |
*string |
➖ | The datasource specific id for the document. This field is case insensitive and should not be more than 200 characters in length. |
ViewURL |
*string |
➖ | The permalink for viewing the document. Note: viewURL is a required field if id was not set when uploading the document.' |
Permissions |
components.DocumentPermissionsDefinition | ✔️ | describes the access control details of the document |