Skip to main content
DELETE
Delete agent
What it does: Permanently delete a voice agent and all of its associated configuration from your organization. This action cannot be undone.

Required Permission

agents

Path Parameters

Minimum working example

Response

Success (200)

Errors

404 Not Found - Agent not found or not accessible

Use Cases

  • Removing outdated or unused agents from your organization
  • Cleaning up test agents after development
  • Decommissioning agents after a project is completed
This action is permanent and cannot be undone. All agent configuration, FAQ entries, and settings will be removed. Ensure you have a backup of any configuration you may need before deleting.
Save the requestId from every response. You will need it if you contact Gnani support to trace a specific request.

Authorizations

x-api-key
string
header
required

API key with 'agents' permission

Path Parameters

botId
string
required

Unique identifier of the agent

Response

Agent deleted successfully

status
string
Example:

"success"

requestId
string
Example:

"a1b2c3d4-e5f6-7890-abcd-ef1234567890"

message
string
response
object