Agent

Delete an agent

Soft-deletes an agent by its ID. The agent is hidden from all reads and stops being attributed to new calls, but its record and history are retained. Fails with 409 if the agent is still referenced by simulation run plans: cancel those run plans first. Note: if the agent syncs from a provider integration, also exclude it in the integration settings (or delete the integration) so its calls stop reaching Roark.

delete/v1/agent/{agentId}

Path parameters

agentIdstring required

The ID of the agent to delete

Response

The agent was deleted

Changes