Skip To Content
ArcGIS Developer

/[folderID]/delete: Delete Folder

  • URL:https://[root]/content/users/[userName]/[folderID]/delete(POST only)

Example Usage

URL for Delete Folder


The delete user folder operation (POST only) is available only on the user's non-root folders. The user's root folder cannot be deleted.

Deleting a folder also deletes all items that it contains (both the items and the links).

For ArcGIS Online organizations, the delete user folder operation moves all the items in the folder, if supported, to the recycle bin for 14 days before they are permanently deleted. Any unsupported items in the folder are permanently deleted. Learn more about permanently deleting and restoring items.

Request Parameters

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties


Indicates if the operation was successful.


Folder JSON object that describes the folder just deleted. Contains the username of the person who deleted the folder, the id of the folder, and the title of the folder.


Deletes a folder and its contents permanently. The default is false. Any unsupported items in the folder are permanently deleted even if the value is set to false.

Values: true | false


Available only for ArcGIS Online organizations. See here for a list of unsupported account types and items.

JSON Response Syntax

            {  "success": true,  "folder": {    "username": "<username>",    "id": "<folder id>",    "title": "<folder title>"  }}

JSON Response Example

            {  "success": true,  "folder": {    "username": "jsmith",    "id": "0bffc1c3fe984a17bd9ae705b3ca7e22",    "title": "Non-motorized trials"  }}