TokenLab

Worlds

Xóa World

Xóa một World Labs Marble world

DELETE
/v1/worlds/{id}

Xóa Marble World được tạo qua TokenLab. TokenLab chuyển tiếp yêu cầu xóa tới World Labs và đánh dấu bản ghi world cục bộ là đã xóa.

Thao tác xóa là vĩnh viễn.

Tham số đường dẫn

idstringpathbắt buộc

ID thế giới World Labs.

Phản hồi

deletedboolean

Yêu cầu xóa có được chấp nhận hay không.

world_idstring

ID thế giới World Labs.

Yêu cầu

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

Xác thực

BearerAuth
AuthorizationBearer <token>

Xác thực bằng Khóa API. Tạo hoặc quản lý khóa API trong Dashboard > API > API Keys.

Vị trí: header

Tham số đường dẫn

id*string

ID thế giới.

Phản hồi

application/json

application/json