Unshare document from user

This endpoint allows API users to remove sharing access for a specific user from the document.

Notes

  • The owner can unshare any user except themselves.
  • A shared user can unshare only themselves (self-unshare).
delete/v2/documents/{document_id}/roles/{user_id}

Request

Path parameters

Document ID.

ID of the user to unshare.

Response

User successfully unshared. No content returned.

Changes

No recorded changes to this operation across all 1 revision of this API.