XRToken API Docs

Delete an asset group

API Configuration
After saving, the Try It panel below sends real requests with this key.
Base: api.xrtoken.ai

Permanently delete an asset group along with every asset it contains. Only the owning user may delete a group. The server first calls upstream Volcengine Ark to drop the group, then clears the local user-to-group ownership row.

DELETE
/v1/asset-groups/{groupId}

Authorization

BearerAuth
AuthorizationBearer <token>

API key authentication (OpenAI format). Pass in the Authorization header:

Authorization: Bearer tr-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

In: header

Path Parameters

groupId*string

Asset group ID

Response Body

application/json

application/json

application/json

curl -X delete "https://api.xrtoken.ai/v1/asset-groups/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"
}