Skip To Content
ArcGIS Developer
Dashboard

/[folderID]/updateFolder: Update Folder

  • URL:https://[root]/content/users/[userName]/[folderID]/updateFolder(POST only)
  • Version Introduced:10.6

Example Usage

URL for Update Folder

https://www.arcgis.com/sharing/rest/content/users/jsmith/50ae40c1bfda4741b52fa97a4f97be69/updateFolder

Description

The Update Folder operation (POST only) allows users to rename an existing non-root folder title. Title is case insensitive and must be unique to the user.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

newTitle

The new title to rename the folder. Title is case insensitive and must be unique to the user.

Response Properties

PropertyDetails
success

Indicates if the operation was successful.

JSON Response Syntax

{"success": true}

JSON Response Example

{"success": true} 

or 

{"error": {
 "code": 400,
 "message": "Unable to update folder.",
 "details": ["Folder title 'abc' not available."]
}}