Delete Asset

DELETE/v1/assets/{assetId}

Delete an asset.

Authentication

Authorization Bearer

API key as bearer token in Authorization header.

Path Parameters

assetIdstringrequired

Asset ID.

Response

codeinteger

Response status code.

datastring

Deleted confirmation message (`Deleted successfully`).

msgstring

Response message.

serviceCodestring | null

Service error code on failure.

Request

Shell
1curl -X DELETE https://api.token360.ai/v1/assets/{assetId} \
2  -H "Authorization: Bearer sk-your-api-key"

Response

JSON
1{
2  "code": 0,
3  "data": "Deleted successfully",
4  "msg": "Asset deleted"
5}
Was this page helpful?