Integration Instances

Update Integration Instance

Changed on

Updates an integration instance.

patch/v1/integration-instances/{id}

Request

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

Path parameters

id, string required
Example:3f51fa25-310a-421d-bd1a-007f859021a3

The id of the integration instance.

Request body

UpdateIntegrationInstance required
name, string

The machine name of the integration instance that uniquely identifies it within the catalog.

display_name, string

The display name of the integration instance.

description, string nullable

Optionally provide a description of the integration instance.

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 "_".

config, IntegrationInstanceConfig

JSON object representing configuration specific to the integration instance. The expected schema depends on the integration type and is dynamically registered at runtime.

Example request

{
  "name": "aws-lambda-prod",
  "display_name": "AWS (prod)",
  "labels": {
    "env": "test"
  },
  "config": {
    "account_region": "eu"
  }
}

Response

A response containing a single integration instance object.

IntegrationInstance required

Information about an integration instance.

id, string uuid required

The integration instance ID.

name, string required

The machine name of the integration instance that uniquely identifies it within the catalog.

display_name, string required

The display name of the integration instance.

description, string nullable required

The description of the integration instance.

integration, IntegrationRefWithoutInstance required

Short-hand descriptor of an integration that omits instance metadata.

authorized, boolean required

Denotes whether the integration instance has been authorized within the catalog.

labels, Labels

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

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

config, IntegrationInstanceConfig required

JSON object representing configuration specific to the integration instance. The expected schema depends on the integration type and is dynamically registered at runtime.

created_at, string date-time required

An ISO-8601 timestamp representation of entity creation date.

updated_at, string date-time required

An ISO-8601 timestamp representation of entity update date.

Example response

{
  "id": "3f51fa25-310a-421d-bd1a-007f859021a3",
  "name": "aws-lambda-prod",
  "display_name": "AWS (prod)",
  "integration": {
    "name": "gateway-manager",
    "display_name": "gateway-manager"
  },
  "authorized": true,
  "labels": {
    "env": "test"
  },
  "config": {
    "account_region": "eu"
  },
  "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