Delete asset
API Configuration
After saving, the Try It panel below sends real requests with this key.
Base: api.xrtoken.ai
Permanently delete a specific asset. This action is irreversible. Only assets owned by the current user can be deleted.
Authorization
BearerAuth AuthorizationBearer <token>
API key authentication (OpenAI format). Pass in the Authorization header:
Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
In: header
Path Parameters
assetId*string
Asset ID
Response Body
application/json
application/json
application/json
curl -X delete "https://api.xrtoken.ai/v1/assets/string"Empty
{
"error": "invalid or missing API key",
"type": "auth_error"
}{
"error": "string",
"type": "invalid_request_error"
}{
"error": "rate limit exceeded",
"type": "rate_limit_error"
}