Skip to content
Spacefolder Docs
Esc
↑↓navigate↵open⌘Jpreview

Delete a world

Repeat the ID from the URL in confirm_id to confirm permanent deletion. Deleted World IDs cannot be reused.

DELETE/worlds/{id}
Authorization
AuthorizationBearer token · headerrequired

Workspace API key (sf-…). Keep it server-side.

Path parameters
idstringrequired
Request body
requiredapplication/json
confirm_idWorldIdrequired

Repeat the World ID from the URL to confirm permanent deletion.

min length 1 · matches ^\S+$
Responses
200

Deleted

errorstring | null
statestringrequired
202

Deletion is in progress; retry with the same confirmation

errorstring | null
statestringrequired
Request
curl -X DELETE 'https://api.spacefolder.com/v1/worlds/string' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "confirm_id": "string"
}'
Response
{
  "error": "string",
  "state": "string"
}