Skip to main content

Delete an asset

DELETE 

/assets/:id

Deletes an asset and returns it with deletedAt set, plus places: every creative or embed that held this file and went back to waiting because of this call. The asset is only hidden, never destroyed: POST /assets/{assetId}/undelete restores it, and ?showDeleted=true still reads it.

Request​

Responses​

OK. The deleted asset, deletedAt set, and places: the places that went back to waiting because this call deleted the file. A replay of an earlier delete answers the asset WITHOUT places.

Response Headers
    ETag

    Strong hash of the asset state.