Update agent
PATCH/api/agents/:agent_id
Changes an agent's ref or subpath (re-read at once; a failure is a 422 that changes nothing), its status (active or disabled), its whole env map, or a registry agent's key_account_id. A registry agent's ref, sub-path and environment cannot change (422). Only whoever registered the agent, or someone who may edit agents across the organization, may change it (403); returns the updated agent.
Request
Responses
- 200
- 422
OK
Unprocessable content