Skip to content

Delete Asset

Permanently deletes an asset and removes its files from both private and public storage buckets. This action is irreversible.

DELETE /v1/assets/{asset_id}
assets:write

Path Parameters

ParameterTypeRequiredDescription
asset_idstringYesThe unique identifier of the asset (UUID).

Request Examples

Terminal window
curl -X DELETE https://xqr.co/api/v1/assets/a1b2c3d4-e5f6-7890-abcd-ef1234567890 \
-H "Authorization: Bearer xqr_pk_a1b2c3d4.xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Response

204 No Content

The response body is empty.

Was this page helpful?