Worlds
刪除 World
刪除 World Labs Marble 世界
刪除透過 TokenLab 建立的 Marble 世界。TokenLab 會將刪除請求轉發給 World Labs,並把本地 world 記錄標記為已刪除。
刪除是永久操作。
路徑參數
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 金鑰。
位置: header
路徑參數
id*string
世界 ID。
回應
application/json
application/json