Worlds

Hapus World

Menghapus World Labs Marble world

DELETE
/v1/worlds/{id}

Hapus Marble World yang dibuat melalui TokenLab. TokenLab meneruskan penghapusan ke World Labs dan menandai catatan world lokal sebagai terhapus.

Penghapusan bersifat permanen.

Parameter path

idstringpathwajib

ID dunia World Labs.

Respons

deletedboolean

Apakah penghapusan diterima.

world_idstring

ID dunia World Labs.

Permintaan

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

Otorisasi

BearerAuth
AuthorizationBearer <token>

Autentikasi API Key. Buat atau kelola API key di Dashboard > API > API Keys.

Lokasi: header

Parameter path

id*string

ID dunia.

Respons

application/json

application/json