Skip To Content ArcGIS for Developers Sign In Dashboard

Delete Proxy

Description

The delete proxy operation (POST only) removes a proxy service set on an item. The operation can only be made on a registered app item with ArcGIS Online hosted proxy set.

The operation is only available for the item owner and the organization administrator.

Request Parameters

ParameterDetails
[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails
success

Indicates if the operation was successful.

proxyId

Proxy ID.

itemId

The ID of the item.

Example Usage

URL for Delete Proxy

https://www.arcgis.com/sharing/rest/content/users/jsmith/items/d141c90171114982991d2f1ffc99f8aa/proxies/gtF5OJbtD4FvbO3C/delete

JSON Response Syntax

{
  "success": true,
  "proxyId": "<proxy ID>",
  "itemId": "<item ID>"
}

JSON Response Example

{
  "success": true,
  "proxyId": "gtF5OJbtD4FvbO3C",
  "itemId": "d141c90171114982991d2f1ffc99f8aa"
}

or

{
 "error": {
 "code": 400,
 "message": "App proxy Id 'bxf1vC9DB7G0CFka' not found",
 "details": []
}}