DCR Providers

Create DCR provider

Changed on

Creates a DCR provider.

post/v2/dcr-providers

Request

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

Request body

union required

Request body for creating a DCR provider. The provider_type cannot be updated after creation.

intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required
OR
intersection required

Example request

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

Response

A response containing the newly created DCR provider object.

CreateDcrProviderResponse required

A response containing the newly created DCR provider object.

union
intersection
OR
intersection
OR
intersection
OR
intersection
OR
intersection
OR
intersection

Example response

{
  "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

      the provider_type request property const value auth0 was added

    • breaking

      the provider_type request property const value azureAd was added

    • breaking

      the provider_type request property const value curity was added

    21 more changes in this revision