Delete World
curl --request DELETE \
--url https://api.continuouslabs.ai/v1/worlds/{id} \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.continuouslabs.ai/v1/worlds/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}import requests
url = "https://api.continuouslabs.ai/v1/worlds/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.continuouslabs.ai/v1/worlds/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "auth_invalid",
"detail": "The API key is missing or invalid."
}{
"code": "world_not_found",
"detail": "No World was found with ID \"wld_01J8Z5X4K7M2N9P0Q1R2S3T4V7\"."
}{
"code": "internal",
"detail": "The server encountered an unexpected error."
}Worlds
Delete World
Deletes a World, all member Simulations, and their saved runtime states.
DELETE
https://api.continuouslabs.ai
/
v1
/
worlds
/
{id}
Delete World
curl --request DELETE \
--url https://api.continuouslabs.ai/v1/worlds/{id} \
--header 'Authorization: Bearer <token>'package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.continuouslabs.ai/v1/worlds/{id}"
req, _ := http.NewRequest("DELETE", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}import requests
url = "https://api.continuouslabs.ai/v1/worlds/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.delete(url, headers=headers)
print(response.text)const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.continuouslabs.ai/v1/worlds/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"code": "auth_invalid",
"detail": "The API key is missing or invalid."
}{
"code": "world_not_found",
"detail": "No World was found with ID \"wld_01J8Z5X4K7M2N9P0Q1R2S3T4V7\"."
}{
"code": "internal",
"detail": "The server encountered an unexpected error."
}