cURL
curl -X DELETE https://api.aiql.io/workspaces/ws_3a1b \
-H "Authorization: Bearer $AIQL_API_KEY"import os
from aiql import AiQL
client = AiQL(api_key=os.environ["AIQL_API_KEY"])
client.workspaces.delete("ws_3a1b")import { AiQL } from "@aiql.io/sdk";
const client = new AiQL({ apiKey: process.env.AIQL_API_KEY });
await client.workspaces.delete("ws_3a1b");{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Workspaces
Delete Workspace
DELETE
/
workspaces
/
{id}
cURL
curl -X DELETE https://api.aiql.io/workspaces/ws_3a1b \
-H "Authorization: Bearer $AIQL_API_KEY"import os
from aiql import AiQL
client = AiQL(api_key=os.environ["AIQL_API_KEY"])
client.workspaces.delete("ws_3a1b")import { AiQL } from "@aiql.io/sdk";
const client = new AiQL({ apiKey: process.env.AIQL_API_KEY });
await client.workspaces.delete("ws_3a1b");{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}