- URL:
- https://dataaccess/listUserWorkspaces
- Methods:
GET- Operations:
- Move
- Required Capability:
- Access allowed with the "Create and edit notebooks" privilege
- Version Introduced:
- 11.5
Description
The list resource provides the name of the workspace directory (/arcgis/home/workspacedirectoryname) for the user initiating the request. If the user accessing the resource is an administrator, this resource will return the workspace directory names for all users.
Request parameters
| Parameter | Details |
|---|---|
| The response format. The default response format is Values: |
Example usage
The following is a sample request URL used to access the list resource:
https://organization.example.com/<context>/notebooks/admin/dataaccess/listUserWorkspaces?f=pjsonJSON Response syntax
{
"Containers": [
{
"Name": "<user1workspace>"
},
{
"Name": "<user2workspace>"
},
{
"Name": "<user3workspace>"
}
]
}JSON Response example
{
"Containers": [
{
"Name": "rn_admin"
},
{
"Name": "gis_joe"
},
{
"Name": "gis_jane"
}
]
}