Skip to main content
Version: 5.7.0

SysMoveUserToGroupFile

Move a file from user space to group space.

ServiceOperation
groupFileSYS_MOVE_USER_TO_GROUP_FILE

Method Parameters

ParameterDescription
userProfileIdThe user file owner.
userCloudPathThe user file folder.
userCloudFilenameThe user file name.
groupIdThe id of the group.
groupTreeIdThe id of the destination folder.
groupFilenameThe group file name.
groupFileOwnerIdThe optional owner id of of the new group file.
overwriteIfPresentWhether to allow overwrite of an existing file if present.
groupFileAclThe acl of the new group file.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"fileDetails": {
"treeId": "40479c72-b46b-4c05-902c-239ada116acd",
"fileName": "glog1.json",
"fileSize": 8199,
"dateUploaded": 1677526746000,
"etag": "93acc8568cee7d0d0836ff6b63b549ab",
"acl": {
"member": 2,
"other": 0
},
"version": 1,
"url": "https://api.internal.braincloudservers.com/groupfiles/bc/g/23782/gr/2bf538d1-19ea-4e14-9862-f979215e09b7/40479c72-b46b-4c05-902c-239ada116acd/4c924070-db15-47d4-a44a-be496bb49f66/V1/glog1.json",
"fileId": "4c924070-db15-47d4-a44a-be496bb49f66"
},
"groupId": "2bf538d1-19ea-4e14-9862-f979215e09b7"
},
"status": 200
}