List user workspaces

URL:
https://<root>/dataaccess/<workspacename>/listUserWorkspaces
Methods:
GET
Required Capability:
Administrator or Create and Edit
Version Introduced:
11.4

Description

The listUserWorkspaces resource provides the name of the workspace directory (/arcgis/home/workspacedirectoryname) for the user initiating the request. If the user is an administrator of the Notebook Server, it will return all workspace directory names.

Request parameters

ParameterDetails

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample request URL for the listUserWorkspaces resource:

Use dark colors for code blocksCopy
1
https://notebookserver.domain.com/arcgis/admin/dataaccess/listUserWorkspaces?f=json

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
{
    "Containers": [
        {
            "Name": "<user1workspace>"
        },
        {
            "Name": "<user2workspace>"
        },
        {
            "Name": "<user3workspace>"
        }
    ]
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
{
    "Containers": [
        {
            "Name": "rn_admin"
        },
        {
            "Name": "gis_joe"
        },
        {
            "Name": "gis_jane"
        }
    ]
}

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.