v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
Document permissions

Revoke document permissions

Revoke document permissions for users or user groups.

delete/v1/documents/{documentId}/permissions

Path parameters

documentIdstring required

The document identifier. To retrieve the ID, navigate to File > Document settings in the document and then click Settings. The Identifier field contains the document ID.

Request body

userIdsstring[]

The list of user IDs to revoke permissions from. Use the List users and List embed users endpoints to retrieve user IDs. Either userIds or userGroupIds is required.

userGroupIdsstring[]

The list of user group IDs to revoke permissions from. Use the List user groups endpoint to retrieve user group IDs. Either userIds or userGroupIds is required.

Response

Permissions revoked successfully

successboolean

Example response

{
  "success": true
}