Skip to main content
DELETE
Delete one of the account’s assets. It can no longer be referenced, effective immediately; the copy in the model provider’s asset library is deleted afterwards.
Tasks already submitted that reference the asset may fail.

Authorizations

string
required
Bearer YOUR_API_KEY. Also works when the API key’s quota is exhausted.

Request parameters

string
required
Asset ID starting with ast_ (the id from the upload response). Assets in any status can be deleted.

Response

string
ID of the deleted asset.
string
Always asset.
boolean
Always true.

Error codes