AI bots

Remove an app action from a bot

deletehttps://api.whatsable.app/v1/ai-bots/{id}/actions/{action_id}
Build a request to copy

This page never sends a request. Fill in the fields, then copy the request and run it from your server.

Request
curl -X DELETE 'https://api.whatsable.app/v1/ai-bots/string/actions/string'

Removes the app action from this bot. An action no other bot holds is deleted; its past runs stay on the record. An HTTP action is removed only in the bot editor.

Authorization

bearerAuth
headerAuthorizationBearer <nfy_live_<32 characters>>

An API key from Settings > API keys, sent as Authorization: Bearer <key>.

Path Parameters

id*string

The bot id.

Length1 <= length <= 64
action_id*string

The action id. It must be one of the bot's actions.

Length1 <= length <= 64

Response Body

The action was removed from the bot.

application/json
  1. response
object*string
id*string
Length1 <= length <= 64
deleted*boolean
Example Request
curl -X DELETE 'https://api.whatsable.app/v1/ai-bots/string/actions/string'
Example Response
{  "object": "ai_bot_action",  "id": "string",  "deleted": true}