Assets

Delete an Asset

Deletes our copy of the bytes and removes the Asset from the library. A reservation can be deleted too, before or after its bytes arrive, which is how one is abandoned deliberately rather than left for the daily sweep.

This does not remove it from any provider. Once registered, the bytes are in that ad account’s library and are no longer ours to withdraw — remainingRegistrations counts the Registrations the Asset still has. Say so to the user; letting them assume otherwise is worse than refusing.

delete/assets/{id}

Request

  • Base URL: https://api.adcrunch.dev
  • URL: https://api.adcrunch.dev/assets/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

The Asset id.

Response

The Asset is gone from AdCrunch. remainingRegistrations counts the Registrations it still has, and AdCrunch cannot withdraw the bytes a provider already took.

oktrue required
remainingRegistrationsnumber required

How many provider libraries still hold these bytes. AdCrunch cannot withdraw them. Tell the person; letting them assume otherwise is worse.

Example response

{
  "ok": true,
  "remainingRegistrations": 1
}

Changes

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