Store the body's `guardrails` object as the default for new agents; existing agents keep their own
PUT
Not available to personal access tokens; call it from a signed-in session.
bearerheader
AuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
Success
curl -X PUT 'http://localhost:7091/api/admin/defaults/agents'Example Response200
Empty
Force-logout: revoke the user's live OIDC sessions (best-effort) POST
Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Update policies: {policies: {key: {enabled?, credential_mode?, allow_writes?}}, allow_custom_mcp?} PUT
Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.