- URL:
- https://<root>/services/createFolder
- Methods:
POST
- Required Capability:
- Access allowed with any authorized privilege
- Version Introduced:
- 10.1
Description
The create
operation creates a sub-folder underneath the root folder. ArcGIS Server supports only a single level hierarchy of folders and hence this operation is only supported on the root folder. A new folder inherits the permissions of the root folder during creation time. You can change the permissions on the folder by using the Permissions resource on the created folder resource.
Request parameters
Parameter | Details |
---|---|
| The name of the folder. The name must be unique. Example
|
(Optional) | An description for the folder. Example
|
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the create
operation:
POST /webadaptor/admin/services/createFolder HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
folderName=Maps&description=A folder for map services&f=pjson
JSON Response example
{"status": "success"}