/[folderID]/updateFolder: Update Folder

URL:
https://[root]/content/users/[userName]/[folderID]/updateFolder
Methods:
POST
Version Introduced:
ArcGIS Enterprise 10.6

Example Usage

URL for Update Folder

Use dark colors for code blocksCopy
1
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

Use dark colors for code blocksCopy
1
{"success": true}

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
{"success": true}

or

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

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.