Edit Server Directory

URL:
https://<notebookserveradmin>/system/directories/<dir>/edit
Methods:
POST
Required Capability:
Administrator
Version Introduced:
10.7.1

Description

This operation allows you to change the location of a server directory for your ArcGIS Notebook Server site.

This operation is mostly used when growing a single-machine site to a multiple-machine configuration, which requires that the server directories and configuration store be put on a network-accessible file share. When you are doing so, you must perform this operation to move each directory in turn.

When you change the location of a directory, copy and paste the contents of the existing directory into the new directory. This ensures that no content is lost after the move.

If you edit the location of the workspace directory, all containers running in the site will be terminated. Ensure that your users are not currently executing notebooks and have saved their work before you run this operation. After the operation is complete, each user will launch a new container the next time they open or create a notebook. This only applies when the workspace directory is edited.

Request parameters

ParameterDetails

dirPath (Directory Path)

The fully qualified file path of the server directory.

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

1
2
https://server:port/arcgis/admin/system/directories/arcgiscontent/edit
 dirPath=\\server\arcgisserver\arcgiscontent

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