{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpdateAppAuthStrategyRequest",
  "title": "UpdateAppAuthStrategyRequest",
  "x-speakeasy-entity": "ApplicationAuthStrategy",
  "description": "Request body for updating an Application Auth Strategy",
  "type": "object",
  "properties": {
    "name": {
      "$ref": "#/components/schemas/AuthStrategyName"
    },
    "display_name": {
      "$ref": "#/components/schemas/AuthStrategyDisplayName"
    },
    "labels": {
      "$ref": "#/components/schemas/LabelsUpdate"
    },
    "dcr_provider_id": {
      "type": "string",
      "format": "uuid",
      "nullable": true
    },
    "configs": {
      "description": "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'",
      "type": "object",
      "oneOf": [
        {
          "$ref": "#/components/schemas/UpdateAppAuthStrategyRequestOpenIdConnect"
        },
        {
          "$ref": "#/components/schemas/UpdateAppAuthStrategyRequestKeyAuth"
        }
      ]
    }
  },
  "additionalProperties": false
}