Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Delete a registered space.
cURL
curl -X DELETE 'http://localhost:18080/api/workspaces/abc123?force=true'
const options = {method: 'DELETE'}; fetch('http://localhost:18080/api/workspaces/{workspaceId}', options) .then(res => res.json()) .then(res => console.log(res)) .catch(err => console.error(err));
import requests url = "http://localhost:18080/api/workspaces/{workspaceId}" response = requests.delete(url) print(response.text)
package main import ( "fmt" "net/http" "io" ) func main() { url := "http://localhost:18080/api/workspaces/{workspaceId}" req, _ := http.NewRequest("DELETE", url, nil) res, _ := http.DefaultClient.Do(req) defer res.Body.Close() body, _ := io.ReadAll(res.Body) fmt.Println(string(body)) }
{ "message": "Workspace abc123 deleted" }
Force delete without confirmation
true
Space deleted
"Workspace abc123 deleted"