Platform Admin
Delete a workspace
SaaS only. Soft-deletes a workspace with cascading cleanup (conversations, semantic entities, learned patterns, suggestions, scheduled tasks).
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X DELETE "http://localhost:3001/api/v1/platform/workspaces/:id"{
"message": "string",
"workspaceId": "string",
"cleanup": {
"conversations": 0,
"semanticEntities": 0,
"learnedPatterns": 0,
"suggestions": 0,
"scheduledTasks": 0
}
}{
"property1": null,
"property2": null
}{
"property1": null,
"property2": null
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}{
"error": "string",
"message": "string",
"requestId": "string"
}