---
title: "UpdateDcrProviderRequest"
url: "https://nov18-dev.movespot.fyi/apis/konnect-application-auth-strategies-2/versions/bd73d053-0812-4727-92b1-ce07bee7e3a8/schemas/UpdateDcrProviderRequest"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-application-auth-strategies-2/versions/bd73d053-0812-4727-92b1-ce07bee7e3a8.md

# UpdateDcrProviderRequest

A set of updates to a DCR provider. The provider_type cannot be updated after creation.

## OpenAPI definition

```yaml
openapi: 3.0.3
info:
  title: Konnect Application Auth Strategies
  version: 2.0.6
servers:
  - url: https://us.api.konghq.com/v2
    description: United-States Production region
  - url: https://eu.api.konghq.com/v2
    description: Europe Production region
  - url: https://au.api.konghq.com/v2
    description: Australia Production region
  - url: https://me.api.konghq.com/v2
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v2
    description: India Production region
  - url: https://sg.api.konghq.com/v2
    description: Singapore Production region
components:
  schemas:
    DcrProviderName:
      description: >
        The name of the DCR provider. This is used to identify the DCR provider
        in the Konnect UI.
      type: string
      maxLength: 256
      minLength: 1
    DcrProviderDisplayName:
      description: >
        The display name of the DCR provider. This is used to identify the DCR
        provider in the Portal UI.
      type: string
      maxLength: 256
      minLength: 1
    LabelsUpdate:
      description: >
        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 "_".
      type: object
      example:
        env: test
      additionalProperties:
        type: string
        pattern: ^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$
        minLength: 1
        maxLength: 63
        nullable: true
      maxProperties: 50
      nullable: true
      writeOnly: true
    UpdateDcrConfigAuth0InRequest:
      description: Payload to update an Auth0 DCR provider.
      type: object
      properties:
        initial_client_id:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientId"
        initial_client_secret:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientSecret"
        initial_client_audience:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientAudience"
        use_developer_managed_scopes:
          type: boolean
      additionalProperties: false
      title: DcrConfigAuth0InRequest
    UpdateDcrConfigAzureAdInRequest:
      description: Payload to update an Azure AD DCR provider.
      type: object
      properties:
        initial_client_id:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientId"
        initial_client_secret:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientSecret"
      additionalProperties: false
      title: DcrConfigAzureAdInRequest
    UpdateDcrConfigCurityInRequest:
      description: Payload to update a Curity DCR provider.
      type: object
      properties:
        initial_client_id:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientId"
        initial_client_secret:
          $ref: "#/components/schemas/DcrConfigPropertyInitialClientSecret"
      additionalProperties: false
      title: DcrConfigCurityInRequest
    UpdateDcrConfigOktaInRequest:
      description: Payload to update an Okta DCR provider.
      type: object
      properties:
        dcr_token:
          $ref: "#/components/schemas/DcrConfigPropertyDcrToken"
      additionalProperties: false
      title: DcrConfigOktaInRequest
    UpdateDcrConfigHttpInRequest:
      description: Payload to update an HTTP DCR provider.
      type: object
      properties:
        dcr_base_url:
          $ref: "#/components/schemas/DcrBaseUrl"
        api_key:
          $ref: "#/components/schemas/DcrConfigPropertyApiKey"
        disable_event_hooks:
          $ref: "#/components/schemas/DcrConfigPropertyDisableEventHooks"
        disable_refresh_secret:
          $ref: "#/components/schemas/DcrConfigPropertyDisableRefreshSecret"
        allow_multiple_credentials:
          $ref: "#/components/schemas/DcrConfigPropertyAllowMultipleCredentials"
      additionalProperties: false
      title: CreateDcrConfigHttpInRequest
    DcrConfigPropertyInitialClientId:
      description: >
        This ID should be copied from your identity provider's settings after
        you create a client

        and assign it as the management client for DCR for this developer portal
      type: string
      maxLength: 256
      title: DcrConfigPropertyInitialClientId
    DcrConfigPropertyInitialClientSecret:
      description: >
        This secret should be copied from your identity provider's settings
        after you create a client

        and assign it as the management client for DCR for this developer portal
      type: string
      maxLength: 256
      title: DcrConfigPropertyInitialClientSecret
    DcrConfigPropertyInitialClientAudience:
      description: >
        This is the audience value used for the initial client.

        If using a custom domain on Auth0, this must be set as to the Auth0
        Management API audience value.

        If left blank, the issuer will be used instead.
      type: string
      maxLength: 256
      nullable: true
      title: DcrConfigPropertyInitialClientAudience
    DcrConfigPropertyDcrToken:
      description: >
        This secret should be copied from your identity provider's settings
        after you create a client

        and assign it as the management client for DCR for this developer portal
      type: string
      maxLength: 256
      title: DcrConfigPropertyInitialDcrToken
    DcrBaseUrl:
      description: >
        The base URL of the DCR server. This is the URL that will be used to
        make the HTTP requests from Konnect to the DCR provider.

        This URL must be accessible from the Konnect service.
      type: string
      format: url
      maxLength: 256
    DcrConfigPropertyApiKey:
      description: >
        This is the API Key that will be sent with each HTTP request to the
        custom DCR server. It can be

        verified on the server to ensure that incoming requests are coming from
        Konnect.
      type: string
      maxLength: 256
      minLength: 12
      pattern: ^[a-zA-Z0-9_]+$
      title: DcrConfigPropertyApiKey
    DcrConfigPropertyDisableEventHooks:
      description: This flag disables all the event-hooks on the application flow for
        the DCR provider.
      type: boolean
      title: DcrConfigPropertyDisableEventHooks
    DcrConfigPropertyDisableRefreshSecret:
      description: This flag disable the refresh-secret endpoint on the application
        flow for the DCR provider.
      type: boolean
      title: DcrConfigPropertyDisableRefreshSecret
    DcrConfigPropertyAllowMultipleCredentials:
      description: When enabled, indicates that the DCR provider supports creating and
        managing multiple credentials per application.
      type: boolean
      default: false
      title: DcrConfigPropertyAllowMultipleCredentials
    UpdateDcrProviderRequest:
      description: A set of updates to a DCR provider. The provider_type cannot be
        updated after creation.
      type: object
      properties:
        name:
          $ref: "#/components/schemas/DcrProviderName"
        display_name:
          $ref: "#/components/schemas/DcrProviderDisplayName"
        issuer:
          type: string
          format: url
          maxLength: 256
        labels:
          $ref: "#/components/schemas/LabelsUpdate"
        dcr_config:
          anyOf:
            - $ref: "#/components/schemas/UpdateDcrConfigAuth0InRequest"
            - $ref: "#/components/schemas/UpdateDcrConfigAzureAdInRequest"
            - $ref: "#/components/schemas/UpdateDcrConfigCurityInRequest"
            - $ref: "#/components/schemas/UpdateDcrConfigOktaInRequest"
            - $ref: "#/components/schemas/UpdateDcrConfigHttpInRequest"
      additionalProperties: false
      title: UpdateDcrProviderRequest
```
