- URL:https://[root]/content/users/[userName]/items/[itemID]/deleteProxies(POST only)
Example Usage
URL for Delete Proxies
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
Parameter | Details |
---|---|
[Common Parameters] | For a complete listing, see Common parameters. |
proxies | A list of proxy IDs separated by comma. Example: XIfPOFlw2W2GFdaY, EbToGGyk1Nui3wVg, 23NxxdEqioStHmDl |
Response Properties
Property | Details |
---|---|
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
{
"results": [
{
"proxyId": "<proxyID1>",
"success": true | false,
"error": {
"code": code,
"message": "<error message>"
}
},
{
"proxyId": "<proxyID2>",
"success": true | false
}
]
}
JSON Response Example
{
"results": [
{
"proxyId": "23NxxdEqioStHmDl",
"success": false,
"error": {
"code": 400,
"message": "App proxy Id '23NxxdEqioStHmDl' not found"
}
},
{
"proxyId": "SSZ4HVrY1WYbProl",
"success": true
}
]
}