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:

1
https://notebookserver.domain.com/arcgis/admin/dataaccess/listUserWorkspaces?f=json

JSON Response syntax

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

JSON Response example

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.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close