Assets

Delete an asset

The asset disappears immediately (it is also removed from every collection) and its uri stops working in new requests; the stored file is then deleted. Deleting an unknown or already deleted asset, or one in a library this key does not reach, returns the same result, so retries are safe and no Idempotency-Key is needed. Deleting does not reset the daily limit on new assets. In a team library, billing and readonly members cannot delete, and developers can delete only assets they saved (403, data.reason asset_permission_denied).

delete/api/v1/assets/{assetId}

Request

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

Response

Deleted.

code200 required
msg'success' required
request_idstring required

Correlation identifier. Include it in support requests.

Changes

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