Worlds

删除 World

删除 World Labs Marble 世界

DELETE
/v1/worlds/{id}

永久删除通过 TokenLab 创建的 Marble World。删除后无法恢复,也不能再通过 TokenLab 访问。

路径参数

idstringpath必填

World Labs 世界 ID。

响应

deletedboolean

是否已接受删除请求。

world_idstring

World Labs 世界 ID。

请求

curl -X DELETE "https://api.tokenlab.sh/v1/worlds/world_123" \
  -H "Authorization: Bearer sk-your-api-key"
{  "deleted": true,  "world_id": "string"}

授权

BearerAuth
AuthorizationBearer <token>

API Key 身份验证。在 Dashboard > API > API Keys 中创建或管理 API Key。

位置: header

路径参数

id*string

世界 ID。

响应

application/json

application/json