Worlds

حذف World

يحذف World Labs Marble world

DELETE
/v1/worlds/{id}

احذف Marble World تم إنشاؤه عبر TokenLab. يمرر TokenLab الحذف إلى World Labs ويضع علامة حذف على سجل world المحلي.

الحذف دائم.

معلمات المسار

idstringpathمطلوب

معرّف عالم World Labs.

الاستجابة

deletedboolean

ما إذا تم قبول الحذف.

world_idstring

معرّف عالم World Labs.

الطلب

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. قم بإنشاء أو إدارة مفاتيح API في Dashboard > API > API Keys.

الموضع: header

معاملات المسار

id*string

معرف العالم.

الاستجابة

application/json

application/json