Event Gateway Backend Clusters

Update Backend Cluster

Changed on

Updates an existing backend cluster.

put/v1/event-gateways/{gatewayId}/backend-clusters/{backendClusterId}

Request

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

Path parameters

gatewayId, string uuid required
Example:9524ec7d-36d9-465d-a8c5-83a3c9390458

The UUID of your Gateway.

backendClusterId, string uuid required

The ID of the Backend Cluster.

Request body

object required
name, string required

The unique name of the backend cluster.

description, string

A human-readable description of the backend cluster.

authentication, union required
insecure_allow_anonymous_virtual_cluster_auth, boolean

If true, virtual clusters can have allow anonymous authentication and use this backend cluster. This setting is not recommended for production use as it may create privilege escalation vulnerabilities.

bootstrap_servers, string[] required

A list of cluster bootstrap servers in the format address:port.

tls, BackendClusterTLS required
metadata_update_interval_seconds, integer

The interval at which metadata is updated in seconds.

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

Example request

{
  "authentication": {
    "password": "${vault.env['MY_ENV_VAR']}"
  },
  "tls": {
    "client_identity": {
      "key": "${vault.env['MY_ENV_VAR']}"
    }
  },
  "labels": {
    "env": "test"
  }
}

Response

Updated backend cluster object.

BackendCluster required

The Kafka cluster.

id, string uuid required

The unique identifier of the backend cluster.

name, string required

The unique name of the backend cluster.

description, string

A human-readable description of the backend cluster.

authentication, union required
insecure_allow_anonymous_virtual_cluster_auth, boolean

If true, virtual clusters can have allow anonymous authentication and use this backend cluster. This setting is not recommended for production use as it may create privilege escalation vulnerabilities.

bootstrap_servers, string[] required

A list of cluster bootstrap servers in the format address:port.

tls, BackendClusterTLS required
metadata_update_interval_seconds, integer

The interval at which metadata is updated in seconds.

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

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

{
  "authentication": {
    "password": "${vault.env['MY_ENV_VAR']}"
  },
  "tls": {
    "client_identity": {
      "key": "${vault.env['MY_ENV_VAR']}"
    }
  },
  "labels": {
    "env": "test"
  },
  "created_at": "2022-11-04T20:10:06.927Z",
  "updated_at": "2022-11-04T20:10:06.927Z"
}

Changes

    • breaking

      added to the authentication response property oneOf list for the response status

    • info

      added sasl_aws_iam discriminator mapping keys to the authentication request property

    • info

      added to the authentication request property oneOf list

    1 more change in this revision