Delete Slack Bot
DELETE
/api/v3/organizations/{organisation}/ai/slack-bots/{botId}
const url = 'https://dashboard.quantcdn.io/api/v3/organizations/example/ai/slack-bots/example';const options = {method: 'DELETE', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://dashboard.quantcdn.io/api/v3/organizations/example/ai/slack-bots/example \ --header 'Authorization: Bearer <token>'Permanently deletes a Slack bot, disconnects it from the workspace, and deletes its backing AI agent.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”organisation
required
string
The organisation ID
botId
required
string
The Slack bot ID
Responses
Section titled “Responses”Slack bot deleted successfully
Media typeapplication/json
object
success
boolean
message
string
Example
{ "success": true, "message": "Slack bot deleted successfully"}Access denied
Slack bot not found
Failed to delete Slack bot
