---
title: "Changes to Update an AI Gateway Auth Strategy"
method: PUT
path: "/v1/ai-gateways/{gatewayId}/auth-strategies/{authStrategyIdOrName}"
---

# Changes to Update an AI Gateway Auth Strategy

`PUT /v1/ai-gateways/{gatewayId}/auth-strategies/{authStrategyIdOrName}`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 2 of 31 revisions.

- **2026-12-03** `9c8d300657bd`: 9 breaking, 4 warning, 528 info
- **2026-09-01** `cef0f947e9c9`: 1 info

## Changes

- **2026-12-03** `9c8d300657bd`: 9 breaking, 4 warning, 528 info
  - added the new required request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/cache_tokens_salt`
  - added the new required request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/issuer`
  - the response's body type changed from no type to `object` for status `400`
  - the response's body type changed from no type to `object` for status `401`
  - the response's body type changed from no type to `object` for status `403`
  - the response's body type changed from no type to `object` for status `404`
  - the response's body type changed from no type to `object` for status `429`
  - the `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `200`
  - the `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/managed_by/additionalProperties/` response property's maxLength was increased from `63` to `127` for the response status `200`
  - changed the pattern of the request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - changed the pattern of the request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/name/allOf[#/components/schemas/AIGatewayEntityIdentifier]/` from `^[A-Za-z0-9._:-]{1,256}$` to `^[A-Za-z0-9._:@-]{1,256}$`
  - changed the pattern of the request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/managed_by/additionalProperties/` from `^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$` to `^[^\s\x00-\x1F\x7F-\x9F]+$`
  - changed the pattern of the request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/name/allOf[#/components/schemas/AIGatewayEntityIdentifier]/` from `^[A-Za-z0-9._:-]{1,256}$` to `^[A-Za-z0-9._:@-]{1,256}$`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/hide_credentials`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/identity_realms`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/key_in_body`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/key_in_header`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/key_in_query`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/key_names`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/principals`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/realm`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/config/run_on_preflight`
  - added the new optional request property `oneOf[subschema #1: AIGatewayAuthStrategyKeyAuthConfig]/datastores`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/anonymous`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/audience`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/audience_claim`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/audience_required`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/auth_methods`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authenticated_groups_claim`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_cookie_domain`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_cookie_http_only`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_cookie_name`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_cookie_path`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_cookie_same_site`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_cookie_secure`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_endpoint`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_query_args_client`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_query_args_names`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_query_args_values`
  - added the new optional request property `oneOf[subschema #2: AIGatewayAuthStrategyOpenIDConnectConfig]/config/authorization_rolling_timeout`
  - …501 more
- **2026-09-01** `cef0f947e9c9`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api-beta/docs/v1/ai-gateways/:gatewayId/auth-strategies/:authStrategyIdOrName/put.md) - [API](https://skmtc.dev/kong/apis/konnect-api-beta.md) - [Page](https://skmtc.dev/kong/apis/konnect-api-beta/changes/v1/ai-gateways/:gatewayId/auth-strategies/:authStrategyIdOrName/put)
