Skip to content

Delete agent

DELETE
/api/v1/gen_agents

Delete an existing agent.

agent_id
required
Agent Id
string

Successful Response

BooleanResponse

Simple response returning a single boolean success status.

object
success
required
Success

Success status of the operation

boolean

Invalid parameters or organization not found

ErrorResponse
object
detail
Any of:
string
error
Any of:
string
error_code
Any of:
string

Permission denied: You do not have permission for this agent.

ErrorResponse
object
detail
Any of:
string
error
Any of:
string
error_code
Any of:
string

Agent not found or UserVoiceResource not found.

ErrorResponse
object
detail
Any of:
string
error
Any of:
string
error_code
Any of:
string

Agent creation/update failed, validation error, or invalid API key (ElevenLabs/HumeAI).

ErrorResponse
object
detail
Any of:
string
error
Any of:
string
error_code
Any of:
string

Internal Server Error

ErrorResponse
object
detail
Any of:
string
error
Any of:
string
error_code
Any of:
string