/delete: Delete Proxy

URL:
https://[root]/content/users/[userName]/items/[itemID]/proxies/[proxyID]/delete
Methods:
POST

Example usage

URL for Delete Proxy

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/users/jsmith/items/d141c90171114982991d2f1ffc99f8aa/proxies/gtF5OJbtD4FvbO3C/delete

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 an 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 whether the operation was successful.

proxyId

Proxy ID.

itemId

The ID of the item.

JSON Response syntax

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "success": true,
  "proxyId": "<proxy ID>",
  "itemId": "<item ID>"
}

JSON Response example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{
  "success": true,
  "proxyId": "gtF5OJbtD4FvbO3C",
  "itemId": "d141c90171114982991d2f1ffc99f8aa"
}

or

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

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