---
title: "Delete World"
method: DELETE
path: "/marble/v1/worlds/{world_id}"
---

# Delete World

`DELETE /marble/v1/worlds/{world_id}`

## Request

- Base URL: `https://api.worldlabs.ai`
- URL: `https://api.worldlabs.ai/marble/v1/worlds/{world_id}`
- Auth: API key in header `WLT-Api-Key`
- TypeScript: <https://skmtc.dev/worldlabs/apis/marble-public-api-v1/docs/marble/v1/worlds/:world_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

Delete a world by ID.

Permanently deletes a world and its associated assets.
Only the world owner can delete a world.

Args:
    world_id: The unique identifier of the world to delete.

Returns:
    DeleteWorldResponse confirming the deletion.

Raises:
    HTTPException: 403 if user is not the world owner
    HTTPException: 404 if world not found
    HTTPException: 500 if deletion fails

## Path parameters

- `world_id` string, required

## Response `200`

Successful Response

- DeleteWorldResponse: Response from world deletion endpoint.
  - `deleted` boolean, required: Whether the world was successfully deleted
  - `world_id` string, required: ID of the deleted world

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/worldlabs/apis/marble-public-api-v1.md) - [All operations](https://skmtc.dev/worldlabs/apis/marble-public-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/worldlabs/apis/marble-public-api-v1/revisions/4a3ed614672e?raw)
