/deleteProxies: Delete Proxies

URL:
https://[root]/content/users/[userName]/items/[itemID]/deleteProxies
Methods:
POST

Example Usage

URL for Delete Proxies

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/266800bbb6814b13be966c1c88a59c4c/deleteProxies

Description

The delete proxies operation (POST only) removes ArcGIS Online hosted proxies set on an item. The operation can only be made by the item owner and the organization administrator.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

proxies

A list of proxy IDs separated by comma.

Example: XIfPOFlw2W2GFdaY, EbToGGyk1Nui3wVg, 23NxxdEqioStHmDl

Response Properties

PropertyDetails

results

An array of JSON objects, one for each proxy requested. Each object consists of the proxyID and a success flag to indicate if the proxy was successfully removed. If an error occurred in removing the proxy, an error object is also returned.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "results": [
    {
      "proxyId": "<proxyID1>",
      "success": true | false,
      "error": {
        "code": code,
        "message": "<error message>"
      }
    },
    {
      "proxyId": "<proxyID2>",
      "success": true | false
    }
  ]
}

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
{
  "results": [
    {
      "proxyId": "23NxxdEqioStHmDl",
      "success": false,
      "error": {
        "code": 400,
        "message": "App proxy Id '23NxxdEqioStHmDl' not found"
      }
    },
    {
      "proxyId": "SSZ4HVrY1WYbProl",
      "success": true
    }
  ]
}

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