Update agent identity
PATCH/v2/agents/:agent_key/identity
Update the agent's identity role management mode and/or roles.
Setting mode to manual freezes the current roles. The platform will no longer recompute roles when the agent's tool configuration changes. This is useful when you need to grant the agent additional permissions beyond what its tools require.
Setting mode to auto resumes platform-managed roles. The platform will immediately resync the roles to match the current tool configuration.
Request
Responses
- 200
- 400
- 403
- 404
The updated agent identity.
Invalid request.
Permissions do not allow modifying this agent.
Agent not found.