DELETE
/
components
/
v1
/
asset
/
{name}
cURL
curl --request DELETE \
  --url https://api-sandbox.appcharge.com/components/v1/asset/{name} \
  --header 'x-publisher-token: <api-key>'
{
  "id": "507f1f77bcf86cd799439011",
  "name": "gold_coins_icon",
  "type": "product",
  "imageUrl": "https://cdn.appcharge.com/507f1f77bcf86cd799439011_product.png",
  "contentType": "image/png",
  "externalImageUrl": "https://example.com/assets/gold_coins_icon.png"
}

Authorizations

x-publisher-token
string
header
required

Publisher token, as displayed in the Publisher Dashboard.

Path Parameters

name
string
required

Asset name.

Example:

"gold_coins_icon"

Response

200
application/json

Asset deleted successfully.

The response is of type object.