/cancel: Cancel

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

Example usage

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/users/<userName>/items/<itemID>/cancel

Description

Cancels a multipart upload on an item. Can be called after the multipart Add Item or Update Item call is made but cannot be called after a Commit operation.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

Response Properties

PropertyDetails

success

Indicates if the operation was successful.

id

The ID of the item whose multipart request is being canceled.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
4
{
 "success": true | false,
    "id":  "<item id>",
  }

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
{
 "success": true,
    "id":  "49bf5db6340e4bccaceca5af3b2bec4b",
  }

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