Delete agent
DELETE/v2/agents/:agent_key
The Delete Agent API enables you to permanently remove an AI agent and its configuration from the Vectara platform, supporting agent lifecycle management and resource cleanup in enterprise environments.
Use this API for decommissioning outdated agents, cleaning up development and testing environments, removing agents that are no longer needed, and maintaining organized agent inventories as your AI deployments evolve. The permanent nature of deletion makes this API critical for environments where data governance and resource management are essential.
Request
Responses
- 204
- 403
- 404
The response returns HTTP status 204 (No Content) on successful deletion with no response body, or an error response if the deletion cannot be completed due to active sessions or other constraints.
Permissions do not allow deleting this agent.
Agent not found.