Documents
Transfer document ownership
Changed onTransfer ownership of a document to another user in the organization.
To successfully transfer a document:
- The user performing the transfer must have MANAGER permissions or higher on the document
- The new owner must be a member of the organization AND have explicit access to the document
Upon success, the following occurs:
- The named user is granted OWNER role on the document
- All other users with OWNER role are demoted to MANAGER permissions on the document
- Explicit permits for the new owner are revoked, as they now have owner access
- Content search index is updated
Note: This operation does not modify the document's creator, and does not move a restricted document out of its current folder. Transferring to the current owner is a no-op and returns success.
put/v1/documents/{documentId}/transfer-ownership
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/documents/{documentId}/transfer-ownership
- AuthHTTP bearer
Path parameters
documentIdstring required
The ID of the document to transfer. 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
Response
Document ownership transferred successfully.
Note: This response is also returned when transferring to the current owner.
Example response
{
"success": true
}Changes
- info
endpoint deprecated
- info