This is to allow for a separate admin type of operation that is more global in terms of access in cases
where admin users may not explicitly have been granted full access to a given space within the declared
space-level permissions. If the space ID is set to null, then the datafile or folder will end up residing
in the personal space of the user who is the owner of the item. Note that, if a given file or folder is not
in the root of a given space, this operation will not succeed, since the parent folder does not reside in
the target space. If the space of a folder in the root of the source space is changed, all subfolders and
files within those subfolders will also recursively be moved to the new space.
Parameters
id: string
The ID of the data file or folder whose
space will be updated.
This is to allow for a separate admin type of operation that is more global in terms of access in cases where admin users may not explicitly have been granted full access to a given space within the declared space-level permissions. If the space ID is set to null, then the datafile or folder will end up residing in the personal space of the user who is the owner of the item. Note that, if a given file or folder is not in the root of a given space, this operation will not succeed, since the parent folder does not reside in the target space. If the space of a folder in the root of the source space is changed, all subfolders and files within those subfolders will also recursively be moved to the new space.