- URL:https://<services-url>/createFolder
(POST only)
- Required Capability:Default administrator role | All authorized privileges
- Version Introduced:10.1
Description
This operation creates a sub-folder underneath the root folder. ArcGIS Serversupports 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 |
---|---|
folderName | The name of the folder. The name must be unique. Example
|
description (Optional) | An description for the folder. Example
|
f | The response format. The default response format is html. Values: html | json| pjson |
Example usage
Below is a sample POST request for createFolder:
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=json
JSON Response example
{"status": "success"}