DCR Providers

Update DCR provider

Changed on

Updates a DCR provider.

patch/v2/dcr-providers/{dcrProviderId}

Request

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

Path parameters

dcrProviderId, string uuid required

Contains a unique identifier used for this resource.

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

DCR provider identifier

Request body

union required

A set of updates to 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

Example request

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

Response

A response containing a single DCR provider object. Sensitive fields will be removed from the response.

union required

A response containing a single DCR provider object. Sensitive fields will be removed from the response.

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

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

      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