- URL:https://<folder-url>/editFolder(POST only)
- Required Capability:Default administrator role | Security and Infrastructure
- Version Introduced:10.1
Description
This operation allows you to change the description of an existing folder or change the web encrypted property. The web encrypted property indicates if all the services contained in the folder are only accessible over a secure channel (SSL). When setting this property to true, you also need to enable the virtual directory security in the security configuration.
Request parameters
Parameters | Description |
---|---|
description | A description for the folder. Example
|
webEncrypted | A Boolean to indicate if the services are accessible over SSL only. Values: true | false |
f | The response format. The default response format is html. Values: html | json | pjson |
Example usage
Below is a sample POST request for editFolder
POST /webadaptor/admin/services/Maps/editFolder HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []
description=A folder for map services&webEncrypted=false&f=json
JSON Response example
{"status": "success"}