Ellipsis APIReferenceAssets

Delete Asset

Delete an asset. A foreign, missing, or already-deleted id is an indistinguishable 404, so ids can't be enumerated. Sandbox tokens get a 403 (a sandbox token sits next to potentially-untrusted code and must not be able to destroy the customer's assets — uploading is fine, destruction is not); API keys and user tokens may delete.

DELETE
/v1/assets/{asset_id}

Delete an asset.

A foreign, missing, or already-deleted id is an indistinguishable 404, so ids can't be enumerated. Sandbox tokens get a 403 (a sandbox token sits next to potentially-untrusted code and must not be able to destroy the customer's assets — uploading is fine, destruction is not); API keys and user tokens may delete.

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Path Parameters

asset_id*Asset Id

Header Parameters

user-agent?string|null

Response Body

application/json

curl -X DELETE "https://example.com/v1/assets/string"
Empty