curl --request DELETE \
--url https://api.botpress.cloud/v1/admin/bots/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <x-workspace-id>'{}Delete bot
curl --request DELETE \
--url https://api.botpress.cloud/v1/admin/bots/{id} \
--header 'Authorization: Bearer <token>' \
--header 'x-workspace-id: <x-workspace-id>'{}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Workspace ID
Whether the client supports bots with multiple instances of the same integration. Set to "true" to receive integration instances keyed by their alias instead of their id. This header will be removed in the future, and the API will always return multiple instances keyed by alias.
Bot ID
Success
The response is of type deleteBotResponse · object.
Was this page helpful?