v1
latestOpenAPI 3.0.02026-08-04122577.8 KBChange the owner of an existing data file or folder.
This is primarily an admin type of operation. In general, the owner of a data file or folder is implicitly set as part of a create or update operation. For data files or folders that reside in a personal space, changing the owner has the effect of moving the data file to the new owner's personal space. Note that, If a given file or folder is not in the root of a personal space, this operation will not succeed, since the parent folder does not reside in the target owner's personal space. If the owner of a folder in the root of a personal space is changed, the owner of all subfolders and files within those subfolders will also recursively change.
Path parameters
The ID of the data file or folder whose owner will be updated.
Request body
Example request
{
"ownerId": "lDL4DIINndhL_iJkcbqWyJenuwizP-2D"
}Response
The file or folder's owner was changed.