/deleteProvision: Delete Provision

URL:
https://[root]/content/listings/[itemID]/deleteProvision
Methods:
POST

Example usage

URL for deleteProvision:

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/listings/b512083cd1b64e2da1d3f66dbb135956/deleteProvision

Description

This operation deletes all provisions to this item for the specified purchaser (POST ONLY).

This operation cannot be invoked if the item has not been provisioned to the specified purchaser.

Only vendor org admins can invoke this operation.

Request parameters

ParameterDetails

[Common Parameters]

For a complete listing, see Common parameters.

[Purchaser Parameters]

Description: For a complete list of purchaser parameters, see Purchaser parameters. Note that all purchaser parameters are optional.

purchaserOrgId

Description: The org ID of the purchaser organization whose provisions are to be deleted.

JSON response syntax

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

JSON response example

Use dark colors for code blocksCopy
1
2
3
4
5
{
  "success": true,
  "itemId": "140d7c7f363349848df8d388f23feb20",
  "purchaserOrgId": "org2"
}

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