Skip to main content
Agents

Disable an agent

POST
/agents/{agent_name}:disable

Disables the specified agent, preventing it from accepting new sessions or processing requests. Existing active sessions are allowed to drain gracefully but no new sessions can be created. This operation is idempotent — disabling an already-disabled agent returns success with no side effects.

Path Parameters
agent_namestringrequired
The name of the agent to disable.
Query Parameters
api-versionstringrequired
The API version to use for this operation.
Responses
No response body schema