Headers
Your API key for authentication.
Path
The web agent to delete.
Response
Can be
success
or error
.A message saying whether the deletion succeeded, or a helpful message describing why it failed.
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"
}
Delete a web agent.
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"
}
success
or error
.{
"status": "success",
"message": "Successfully deleted agent 2c565dc7-f41f-43db-a99f-e4c8ba9d7d18"
}
Was this page helpful?