App Auth Strategies

Update App Auth Strategy

Changed on

Updates an application auth strategy.

patch/v2/application-auth-strategies/{authStrategyId}

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

authStrategyId, string uuid required

Contains a unique identifier used for this resource.

Example:5f9fd312-a987-4628-b4c5-bb4f4fddd5f7

Application auth strategy identifier

Request body

UpdateAppAuthStrategyRequest required

Request body for updating an Application Auth Strategy

name, string

The name of the auth strategy. This is used to identify the auth strategy in the Konnect UI.

display_name, string

The display name of the Auth strategy. This is used to identify the Auth strategy in the Portal UI.

labels, LabelsUpdate nullable

Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types.

Labels are intended to store INTERNAL metadata.

Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_".

dcr_provider_id, string uuid nullable
configs, union

JSON-B object containing the configuration for the OIDC strategy under the key 'openid-connect' or the configuration for the Key Auth strategy under the key 'key-auth'

principals, AuthStrategyPrincipals

Application principal settings for this auth strategy. Runtime effect applies to V3 API Catalog (ACE) portals and applications; stored values may be set for any auth strategy in the organization.

Example request

{
  "labels": {
    "env": "test"
  }
}

Response

A response containing a single updated application auth strategy object.

union required

A set of plugin configurations that represent how the gateway will perform authentication and authorization for a Product Version. Called “Auth Strategy” for short in the context of portals/applications. The plugins are synced to any Gateway Service that is currently linked or becomes linked to the Product Version.

intersection required
OR
intersection required

Example response

{
  "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
  "dcr_provider": {
    "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
  },
  "labels": {
    "env": "test"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

      added to the invalid_parameters/items response property oneOf list for the response status

    • warning

      added the new key_invalid enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status

    • warning

      added the new unique enum value to the invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule response property for the response status