- URL:
- https://<root>/dataaccess/<workspacename>/transferUserWorkspace
- Methods:
POST
- Required Capability:
- Administrator
- Version Introduced:
- 11.4
Description
The transfer
operation allows an administrator to transfer a user's workspace directory to either another user's workspace directory or their own. It is permissible only when there are no active notebook containers open for the user whose workspace is being transferred.
Request parameters
Parameter | Details |
---|---|
| The |
| The |
| The directory in the target user's workspace where the files are to be transferred. |
| The response format. The default response format is Values: |
Example usage
Below is a sample request URL and parameters for the transfer
operation:
HTTP POST
https://notebookserver.domain.com/arcgis/admin/dataaccess/transferUserWorkspace
userName=gis_joe
transferUserName = gis_jane
transferFoldername = gis_joe_workspace_content
f=json
JSON Response syntax
{"status": "<success | failure>"}
JSON Response example
Example 1:
{"status":"success"}
Example 2: Error when source user has one or more active containers
{
"error": {
"code": 500,
"message": "Failed to transfer user workspace. The user has actively running containers.",
"details": null
}
}