Skip To Content

Create Folder

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

ParameterDetails
folderName

The name of the folder. The name must be unique.

Example

folderName=Maps
description

(Optional)

An description for the folder.

Example

description=A folder for map services
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"}