Skip to main content
DELETE
Deactivate an AI agent

Authorizations

hookie_session
string
cookie
required

The console's sealed session cookie, set by WorkOS AuthKit. Mutating requests also require the X-Requested-With CSRF header.

Path Parameters

project_id
string
required
agent_id
string
required

Response

SOFT delete — the row is kept and active set to 0, so it still appears in listAiAgents but any agent_call step referencing it now fails.

ok
enum<boolean>
required
Available options:
true