POST
/
v1
/
agents
/
{agent_id}
/
delete
curl --request POST \
  --url https://api.bland.ai/v1/agents/{agent_id}/delete \
  --header 'authorization: <authorization>'
{
  "status": "success",
  "message": "Successfully deleted agent 2c565dc7-f41f-43db-a99f-e4c8ba9d7d18"
}

Headers

authorization
string
required

Your API key for authentication.

Path

agent_id
string
required

The web agent to delete.

Response

status
string

Can be success or error.

message
string

A message saying whether the deletion succeeded, or a helpful message describing why it failed.

{
  "status": "success",
  "message": "Successfully deleted agent 2c565dc7-f41f-43db-a99f-e4c8ba9d7d18"
}