Assets

Delete an asset

Archives the asset: it immediately stops appearing in list responses and its id returns 404 from every asset endpoint. Archival cannot be undone through the API; previously issued CDN URLs keep serving the file.

delete/websiteAssets/{assetId}

Request

  • Base URL: https://api.cactal.ai/v1
  • URL: https://api.cactal.ai/v1/websiteAssets/{assetId}
  • Auth: HTTP bearer

Path parameters

assetIdstring required

Response

Confirmation that the asset was archived.

deletedtrue required

The asset was archived: it no longer appears in lists and its id returns 404.

Changes

No recorded changes to this operation across all 1 revision of this API.