latestOpenAPI 3.1.02026-08-19211327769.4 KB

e77ab32034c9

Documents

Transfer document ownership

Deprecated. Ownership is a content role: grant a user the OWNER role via the permissions endpoint instead. This endpoint grants OWNER to the named user and demotes every other user holding OWNER on the document itself to MANAGER. Ownership inherited from an ancestor folder is untouched.

put/api/v1/documents/{identifier}/transfer-ownership

Path parameters

identifierstring required

Document identifier (either document ID or identifier slug)

Example:abc123

Document identifier (either document ID or identifier slug)

Request body

userIdstring uuid required

Membership ID of the new owner

Response

Ownership transferred successfully

successboolean required

Whether the operation was successful

Example response

{
  "success": true
}