DELETE
/
api
/
assets
/
{assetID}
Delete an asset by ID.
curl --request DELETE \
  --url https://{tenant}/api/assets/{assetID} \
  --header 'Authorization: Bearer <token>'
{
  "Message": "Asset removed successfully",
  "Meta": null,
  "Status": "success"
}

Authorizations

Authorization
string
header
required

The Tyk Dashboard API Access Credentials

Path Parameters

assetID
string
required

ID of the asset to delete - this value can be the database ID of the asset or the custom ID provided during creation/update.

Response

Asset deleted

ID
string
Message
string
Meta
any
Status
string