- Required Capability:Default administrator role | All authorized privileges
- Version Introduced:10.1
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.
The name of the folder. The name must be unique.
An description for the folder.
The response format. The default response format is html.
Values: html | json| pjson
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