v1

latestOpenAPI 3.1.02026-07-2665153355.3 KB
Assets

Deletes an asset in the Assets Library.

delete/components/v1/asset/{name}

Response

Asset deleted successfully.

idstring

Asset ID.

namestring

Asset name.

type'product' | 'badge' | 'bgMobile' | 'bgDesk' | 'logo' | 'favicon' | 'bgBundle' | 'bgPopup' | 'general' | 'section' | 'productPrefix' | 'playerLevel' | 'banner' | 'addToHomeButtonImage' | 'addToHomeIconImage' | 'playerProfileImage' | 'offerHeader' | 'backToGameButtonImage' | 'animation' | 'trait'

Asset category.

imageUrlstring url

Image URL. For uploaded files, this is the Appcharge-hosted CDN URL. For external image URLs, this is the original image URL served from your CDN at the provided URL.

contentTypestring

Image MIME type.

externalImageUrlstring url

Original image URL if the asset uses an external image URL. This URL is served from your CDN at the provided URL.

Example response

{
  "id": "507f1f77bcf86cd799439011",
  "name": "gold_coins_icon",
  "type": "product",
  "imageUrl": "https://media.appcharge.com/media/691d8c9f127412f152236889baf5",
  "contentType": "image/png",
  "externalImageUrl": "https://example.com/assets/gold_coins_icon.png"
}