Download OpenAPI specification:Download
The API for configurating Konnect Runtime Groups.
List all services
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "connect_timeout": 0,
- "created_at": 0,
- "enabled": true,
- "host": "string",
- "id": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "read_timeout": 0,
- "retries": 0,
- "updated_at": 0,
- "write_timeout": 0
}Create a new service
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name | string The service name. |
| retries | integer Default: 5 The number of retries to execute upon failure to proxy. Default: |
| protocol required | string Default: "http" Enum: "grpc" "grpcs" "http" "https" "tcp" "tls " "tls_passthrough" "udp" "ws" "wss" The protocol used to communicate with the upstream. Accepted values are: |
| host required | string The host of the upstream server. Note that the host value is case sensitive. |
| port required | integer Default: 80 The upstream server port. Default: |
| path | string The path to be used in requests to the upstream server. |
| connect_timeout | integer Default: 6000 The timeout in milliseconds for establishing a connection to the upstream server. Default: |
| write_timeout | integer Default: 6000 The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. Default: |
| read_timeout | integer Default: 6000 The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. Default: |
| tags | Array of strings An optional set of strings associated with the service for grouping and filtering. |
object Certificate to be used as client certificate while TLS handshaking to the upstream server. With form-encoded, the notation is | |
| tls_verify | boolean Default: true Whether to enable verification of upstream server TLS certificate. If set to null, then the Nginx default is respected. |
| tls_verify_depth | string or null Default: null Maximum depth of chain while verifying Upstream server’s TLS certificate. If set to null, then the Nginx default is respected. Default: null. |
| ca_certificates | Array of strings Array of CA Certificate object UUIDs that are used to build the trust store while verifying upstream server’s TLS certificate. If set to null when Nginx default is respected. With form-encoded, the notation is |
| enabled required | boolean Default: true Whether the service is active. If set to |
{- "name": "my-service",
- "retries": 5,
- "protocol": "http",
- "host": "example.com",
- "port": 80,
- "path": "/some_api",
- "connect_timeout": 6000,
- "write_timeout": 6000,
- "read_timeout": 6000,
- "tags": [
- "user-level"
], - "client_certificate": {
- "id": "4e3ad2e4-0bc4-4638-8e34-c84a417ba39b"
}, - "tls_verify": true,
- "tls_verify_depth": null,
- "ca_certificates": [
- "4e3ad2e4-0bc4-4638-8e34-c84a417ba39b"
], - "enabled": true
}{- "connect_timeout": 6000,
- "created_at": 1684437851,
- "enabled": true,
- "host": "example.com",
- "id": "ebf4e826-b17a-4e23-9d58-2621c9faa135",
- "name": "my-service",
- "path": "/some_api",
- "port": 80,
- "protocol": "http",
- "read_timeout": 6000,
- "retries": 5,
- "updated_at": 1684437851,
- "write_timeout": 6000
}Delete a service
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| service_id required | string ID or name of the service to delete |
Get a service using ID or name.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "connect_timeout": 0,
- "created_at": 0,
- "enabled": true,
- "host": "string",
- "id": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "read_timeout": 0,
- "retries": 0,
- "updated_at": 0,
- "write_timeout": 0
}Create or Update service using ID or name.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name | string The service name. |
| retries | integer Default: 5 The number of retries to execute upon failure to proxy. Default: |
| protocol required | string Default: "http" Enum: "grpc" "grpcs" "http" "https" "tcp" "tls " "tls_passthrough" "udp" "ws" "wss" The protocol used to communicate with the upstream. Accepted values are: |
| host required | string The host of the upstream server. Note that the host value is case sensitive. |
| port required | integer Default: 80 The upstream server port. Default: |
| path | string The path to be used in requests to the upstream server. |
| connect_timeout | integer Default: 6000 The timeout in milliseconds for establishing a connection to the upstream server. Default: |
| write_timeout | integer Default: 6000 The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. Default: |
| read_timeout | integer Default: 6000 The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. Default: |
| tags | Array of strings An optional set of strings associated with the service for grouping and filtering. |
object Certificate to be used as client certificate while TLS handshaking to the upstream server. With form-encoded, the notation is | |
| tls_verify | boolean Default: true Whether to enable verification of upstream server TLS certificate. If set to null, then the Nginx default is respected. |
| tls_verify_depth | string or null Default: null Maximum depth of chain while verifying Upstream server’s TLS certificate. If set to null, then the Nginx default is respected. Default: null. |
| ca_certificates | Array of strings Array of CA Certificate object UUIDs that are used to build the trust store while verifying upstream server’s TLS certificate. If set to null when Nginx default is respected. With form-encoded, the notation is |
| enabled required | boolean Default: true Whether the service is active. If set to |
{- "name": "my-service",
- "retries": 5,
- "protocol": "http",
- "host": "example.com",
- "port": 80,
- "path": "/some_api",
- "connect_timeout": 6000,
- "write_timeout": 6000,
- "read_timeout": 6000,
- "tags": [
- "user-level"
], - "client_certificate": {
- "id": "4e3ad2e4-0bc4-4638-8e34-c84a417ba39b"
}, - "tls_verify": true,
- "tls_verify_depth": null,
- "ca_certificates": [
- "4e3ad2e4-0bc4-4638-8e34-c84a417ba39b"
], - "enabled": true
}{- "connect_timeout": 0,
- "created_at": 0,
- "enabled": true,
- "host": "string",
- "id": "string",
- "name": "string",
- "path": "string",
- "port": 0,
- "protocol": "string",
- "read_timeout": 0,
- "retries": 0,
- "updated_at": 0,
- "write_timeout": 0
}List all routes
route entities define rules to match client requests. Each route is associated with a service, and a service may have multiple routes associated to it. Every request matching a given route will be proxied to its associated service.
Note: Path handling algorithms v1 was deprecated in Kong 3.0. From Kong 3.0, when router_flavor is set to expressions, route.path_handling will be unconfigurable and the path handling behavior will be v0; when router_flavor is set to traditional_compatible, the path handling behavior will be v0 regardless of the value of route.path_handling. Only router_flavor = traditional will support path_handling v1' behavior.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "hosts": [
- "foo.example.com",
- "foo.example.us"
], - "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "example-route",
- "paths": [
- "/v1",
- "/v2"
], - "service": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}
], - "offset": "string"
}Create a new route
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Route request body
| name | string The name of the route. Route names must be unique, and they are case sensitive. For example, there can be two different routes named “test” and “Test”. |
| protocols required | Array of strings An array of the protocols this route should allow |
| methods | Array of strings A list of HTTP methods that match this route. |
| hosts | Array of strings A list of domain names that match this route. Note that the hosts value is case sensitive. With form-encoded, the notation is |
| paths | Array of strings A list of paths that match this route. With form-encoded, the notation is |
object One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the | |
| https_redirect_status_code required | integer Default: 426 Enum: 426 301 302 307 308 The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is |
| regex_priority | integer Default: 0 A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest |
| strip_path | boolean Default: true When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: |
| path_handling | string Enum: "v1" "v0" Controls how the service path, route path and requested path are combined when sending a request to the upstream. Accepted values are: |
| preserve_host required | boolean Default: true When matching a route via one of the |
| request_buffering required | boolean Default: true Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true. |
| response_buffering required | boolean Default: true Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: |
| snis | Array of strings A list of SNIs that match this route when using stream routing. |
Array of objects A list of IP sources of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
Array of objects A list of IP destinations of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
| tags | Array of strings An optional set of strings associated with the route for grouping and filtering. |
object The service this route is associated to. This is where the route proxies traffic to. With form-encoded, the notation is service.id= |
{- "name": "my-route",
- "protocols": [
- "http",
- "https"
], - "methods": [
- "GET",
- "POST"
], - "hosts": [
- "example.com",
- "foo.test"
], - "paths": [
- "/foo",
- "/bar"
], - "headers": {
- "x-my-header": [
- "foo",
- "bar"
], - "x-another-header": [
- "bla"
]
}, - "https_redirect_status_code": 426,
- "regex_priority": 0,
- "strip_path": true,
- "path_handling": "v0",
- "preserve_host": false,
- "request_buffering": true,
- "response_buffering": true,
- "tags": [
- "user-level",
- "low-priority"
], - "service": {
- "id": "af8330d3-dbdc-48bd-b1be-55b98608834b"
}
}{- "hosts": [
- "foo.example.com",
- "foo.example.us"
], - "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "example-route",
- "paths": [
- "/v1",
- "/v2"
], - "service": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}Get a route using ID or name.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| route_id required | string |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "hosts": [
- "foo.example.com",
- "foo.example.us"
], - "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "example-route",
- "paths": [
- "/v1",
- "/v2"
], - "service": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}Create or Update route using ID or name.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| route_id required | string |
Route request body
| name | string The name of the route. Route names must be unique, and they are case sensitive. For example, there can be two different routes named “test” and “Test”. |
| protocols required | Array of strings An array of the protocols this route should allow |
| methods | Array of strings A list of HTTP methods that match this route. |
| hosts | Array of strings A list of domain names that match this route. Note that the hosts value is case sensitive. With form-encoded, the notation is |
| paths | Array of strings A list of paths that match this route. With form-encoded, the notation is |
object One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the | |
| https_redirect_status_code required | integer Default: 426 Enum: 426 301 302 307 308 The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is |
| regex_priority | integer Default: 0 A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest |
| strip_path | boolean Default: true When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: |
| path_handling | string Enum: "v1" "v0" Controls how the service path, route path and requested path are combined when sending a request to the upstream. Accepted values are: |
| preserve_host required | boolean Default: true When matching a route via one of the |
| request_buffering required | boolean Default: true Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true. |
| response_buffering required | boolean Default: true Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: |
| snis | Array of strings A list of SNIs that match this route when using stream routing. |
Array of objects A list of IP sources of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
Array of objects A list of IP destinations of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
| tags | Array of strings An optional set of strings associated with the route for grouping and filtering. |
object The service this route is associated to. This is where the route proxies traffic to. With form-encoded, the notation is service.id= |
{- "name": "my-route",
- "protocols": [
- "http",
- "https"
], - "methods": [
- "GET",
- "POST"
], - "hosts": [
- "example.com",
- "foo.test"
], - "paths": [
- "/foo",
- "/bar"
], - "headers": {
- "x-my-header": [
- "foo",
- "bar"
], - "x-another-header": [
- "bla"
]
}, - "https_redirect_status_code": 426,
- "regex_priority": 0,
- "strip_path": true,
- "path_handling": "v0",
- "preserve_host": false,
- "request_buffering": true,
- "response_buffering": true,
- "tags": [
- "user-level",
- "low-priority"
], - "service": {
- "id": "af8330d3-dbdc-48bd-b1be-55b98608834b"
}
}{- "hosts": [
- "foo.example.com",
- "foo.example.us"
], - "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "example-route",
- "paths": [
- "/v1",
- "/v2"
], - "service": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}List all routes associated with a a service
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| service_id required | string ID or name of the related service |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "hosts": [
- "foo.example.com",
- "foo.example.us"
], - "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "example-route",
- "paths": [
- "/v1",
- "/v2"
], - "service": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}
], - "offset": "string"
}Create a new route associated with a service
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| service_id required | string ID or name of the related service |
Route request body
| name | string The name of the route. Route names must be unique, and they are case sensitive. For example, there can be two different routes named “test” and “Test”. |
| protocols required | Array of strings An array of the protocols this route should allow |
| methods | Array of strings A list of HTTP methods that match this route. |
| hosts | Array of strings A list of domain names that match this route. Note that the hosts value is case sensitive. With form-encoded, the notation is |
| paths | Array of strings A list of paths that match this route. With form-encoded, the notation is |
object One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the | |
| https_redirect_status_code required | integer Default: 426 Enum: 426 301 302 307 308 The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is |
| regex_priority | integer Default: 0 A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest |
| strip_path | boolean Default: true When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: |
| path_handling | string Enum: "v1" "v0" Controls how the service path, route path and requested path are combined when sending a request to the upstream. Accepted values are: |
| preserve_host required | boolean Default: true When matching a route via one of the |
| request_buffering required | boolean Default: true Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true. |
| response_buffering required | boolean Default: true Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: |
| snis | Array of strings A list of SNIs that match this route when using stream routing. |
Array of objects A list of IP sources of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
Array of objects A list of IP destinations of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
| tags | Array of strings An optional set of strings associated with the route for grouping and filtering. |
object The service this route is associated to. This is where the route proxies traffic to. With form-encoded, the notation is service.id= |
{- "name": "my-route",
- "protocols": [
- "http",
- "https"
], - "methods": [
- "GET",
- "POST"
], - "hosts": [
- "example.com",
- "foo.test"
], - "paths": [
- "/foo",
- "/bar"
], - "headers": {
- "x-my-header": [
- "foo",
- "bar"
], - "x-another-header": [
- "bla"
]
}, - "https_redirect_status_code": 426,
- "regex_priority": 0,
- "strip_path": true,
- "path_handling": "v0",
- "preserve_host": false,
- "request_buffering": true,
- "response_buffering": true,
- "tags": [
- "user-level",
- "low-priority"
], - "service": {
- "id": "af8330d3-dbdc-48bd-b1be-55b98608834b"
}
}{- "created_at": 1684438957,
- "headers": {
- "x-another-header": [
- "bla"
], - "x-my-header": [
- "foo",
- "bar"
]
}, - "hosts": [
- "example.com",
- "foo.test"
], - "https_redirect_status_code": 426,
- "id": "40dac76a-ce79-4bca-844d-afb44b9d8784",
- "methods": [
- "GET",
- "POST"
], - "name": "my-route",
- "path_handling": "v0",
- "paths": [
- "/foo",
- "/bar"
], - "preserve_host": false,
- "protocols": [
- "http",
- "https"
], - "regex_priority": 0,
- "request_buffering": true,
- "response_buffering": true,
- "service": {
- "id": "b073426b-1087-42e5-85d9-a2bf9fe0a09d"
}, - "strip_path": true,
- "tags": [
- "user-level",
- "low-priority"
], - "updated_at": 1684438957
}Delete a a route associated with a a service using ID or name.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| route_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the name of the route to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get a route associated with a service using ID or name.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| route_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the name of the route to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "hosts": [
- "foo.example.com",
- "foo.example.us"
], - "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "example-route",
- "paths": [
- "/v1",
- "/v2"
], - "service": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}Create or Update a route associated with a service using ID or name.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| route_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the name of the route to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Route request body
| name | string The name of the route. Route names must be unique, and they are case sensitive. For example, there can be two different routes named “test” and “Test”. |
| protocols required | Array of strings An array of the protocols this route should allow |
| methods | Array of strings A list of HTTP methods that match this route. |
| hosts | Array of strings A list of domain names that match this route. Note that the hosts value is case sensitive. With form-encoded, the notation is |
| paths | Array of strings A list of paths that match this route. With form-encoded, the notation is |
object One or more lists of values indexed by header name that will cause this route to match if present in the request. The Host header cannot be used with this attribute: hosts should be specified using the | |
| https_redirect_status_code required | integer Default: 426 Enum: 426 301 302 307 308 The status code Kong responds with when all properties of a route match except the protocol i.e. if the protocol of the request is |
| regex_priority | integer Default: 0 A number used to choose which route resolves a given request when several routes match it using regexes simultaneously. When two routes match the path and have the same regex_priority, the older one (lowest |
| strip_path | boolean Default: true When matching a route via one of the paths, strip the matching prefix from the upstream request URL. Default: |
| path_handling | string Enum: "v1" "v0" Controls how the service path, route path and requested path are combined when sending a request to the upstream. Accepted values are: |
| preserve_host required | boolean Default: true When matching a route via one of the |
| request_buffering required | boolean Default: true Whether to enable request body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that receive data with chunked transfer encoding. Default: true. |
| response_buffering required | boolean Default: true Whether to enable response body buffering or not. With HTTP 1.1, it may make sense to turn this off on services that send data with chunked transfer encoding. Default: |
| snis | Array of strings A list of SNIs that match this route when using stream routing. |
Array of objects A list of IP sources of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
Array of objects A list of IP destinations of incoming connections that match this route when using stream routing. Each entry is an object with fields “ip” (optionally in CIDR range notation) and/or “port”. | |
| tags | Array of strings An optional set of strings associated with the route for grouping and filtering. |
object The service this route is associated to. This is where the route proxies traffic to. With form-encoded, the notation is service.id= |
{- "name": "my-route",
- "protocols": [
- "http",
- "https"
], - "methods": [
- "GET",
- "POST"
], - "hosts": [
- "example.com",
- "foo.test"
], - "paths": [
- "/foo",
- "/bar"
], - "headers": {
- "x-my-header": [
- "foo",
- "bar"
], - "x-another-header": [
- "bla"
]
}, - "https_redirect_status_code": 426,
- "regex_priority": 0,
- "strip_path": true,
- "path_handling": "v0",
- "preserve_host": false,
- "request_buffering": true,
- "response_buffering": true,
- "tags": [
- "user-level",
- "low-priority"
], - "service": {
- "id": "af8330d3-dbdc-48bd-b1be-55b98608834b"
}
}{- "hosts": [
- "foo.example.com",
- "foo.example.us"
], - "id": "56c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "example-route",
- "paths": [
- "/v1",
- "/v2"
], - "service": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}
}Retrieve a list of all plugins associated with a consumer.
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}Create a new Plugin associated with a Consumer
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}Delete a a Plugin associated with a a Consumer using ID.
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get a Plugin associated with a Consumer using ID.
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}Create or Update a Plugin associated with a Consumer using ID.
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}This endpoint allows you to list all the plugins. You can use query parameters to filter the results by size or tags, for example /plugins?size=50&tags=enterprise.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}Create a new Plugin.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Delete a Plugin
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get a Plugin using ID.
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Create or Update Plugin using ID.
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}List all Plugins associated with a a route
| route_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the name of the route to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
], - "offset": "string"
}Create a new Plugin associated with a route
| route_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the name of the route to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}Delete a a Plugin associated with a a route using ID.
| route_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the name of the route to retrieve. |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get a Plugin associated with a route using ID.
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| route_id required | string ID or name of the related route |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}Create or Update a Plugin associated with a route using ID.
| route_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the name of the route to retrieve. |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}List all Plugins associated with a a service
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
], - "offset": "string"
}Create a new Plugin associated with a service
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Delete a a Plugin associated with a a service using ID.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get a Plugin associated with a service using ID.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "config": {
- "anonymous": null,
- "hide_credentials": false,
- "key_in_body": false,
- "key_in_header": true,
- "key_in_query": true,
- "key_names": [
- "apikey"
], - "run_on_preflight": true
}, - "enabled": true,
- "id": "3fd1eea1-885a-4011-b986-289943ff8177",
- "name": "key-auth",
- "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Create or Update a Plugin associated with a service using ID.
| service_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID or name of the service to lookup |
| plugin_id_or_instance_name required | string Example: response-ratelimiting The unique identifier of the Plugin to create or update. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Plugin request body
| name | string or null The name of the Plugin that’s going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object If set, the plugin will only activate when receiving requests via the specified route. Leave unset for the plugin to activate regardless of the route being used. Default: | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified service. | |
| instance_name | string The Plugin instance name. |
object The configuration properties for the Plugin | |
| protocols | Array of strings Items Enum: "http" "grpc" "grpcs" "tls" "tcp" A list of the request protocols that will trigger this plugin. |
| enabled | boolean Default: true Whether the plugin is applied. Default: |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
{- "name": "rate-limiting",
- "consumer": "string",
- "instance_name": "rate-limiting-foo",
- "config": {
- "hour": 500,
- "minute": 500
}, - "protocols": [
- "http"
], - "enabled": true,
- "tags": [
- "string"
]
}{- "data": [
- {
- "id": "02621eee-8309-4bf6-b36b-a82017a5393e",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "http",
- "https"
], - "enabled": true,
- "tags": [
- "user-level",
- "low-priority"
], - "ordering": {
- "before": [
- "plugin-name"
]
}
}, - {
- "id": "66c7b5c4-4aaf-4119-af1e-ee3ad75d0af4",
- "name": "rate-limiting",
- "created_at": 1422386534,
- "route": null,
- "service": null,
- "consumer": null,
- "config": {
- "hour": 500,
- "minute": 20
}, - "protocols": [
- "tcp",
- "tls"
], - "enabled": true,
- "tags": [
- "admin",
- "high-priority",
- "critical"
]
}
],
}Retrieve a list of all consumers.You can use query parameters to filter the results by size or tags, for example /consumers?size=50&tags=enterprise.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "created_at": 1684424758,
- "custom_id": "string",
- "id": "c1a1f6f-2aa4-4e58-93ff-b56368f19b27",
- "tags": [
- "string"
], - "updated_at": 1684424758,
- "username": "string"
}Create a new Consumer
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Consumer request body
| username required | string The unique username of the Consumer. You must send either this field or custom_id with the request. |
| custom_id required | string Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or username with the request. |
| tags | Array of strings An optional set of strings associated with the Consumer for grouping and filtering. |
{- "username": "string",
- "custom_id": "string",
- "tags": [
- "string"
]
}{- "created_at": 1684424758,
- "custom_id": "string",
- "id": "c1a1f6f-2aa4-4e58-93ff-b56368f19b27",
- "tags": [
- "string"
], - "updated_at": 1684424758,
- "username": "string"
}Delete a specific consumer from the system using either the consumer ID or the consumer username. This operation is irreversible and permanently removes all data associated with the specified consumer. If the consumer was deleted succesfully the endpoint will return a 204 response indicating that the resource did not exist.
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Retrieve the details of a specific consumer in the system using either the consumer ID or the consumer username. If the consumer with the specified ID or username cannot be found, the endpoint will return a 404.
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "created_at": 1684424758,
- "custom_id": "string",
- "id": "c1a1f6f-2aa4-4e58-93ff-b56368f19b27",
- "tags": [
- "string"
], - "updated_at": 1684424758,
- "username": "string"
}Create or Update Consumer using ID or username. The consumer will be identified via the username or id attribute.If the consumer with the specified ID or username cannot be found, the endpoint will return a 404.
When the username or id attribute has the structure of a UUID, the Consumer being inserted/replaced will be identified by its id. Otherwise it will be identified by its username.
When creating a new Consumer without specifying id (neither in the URL nor in the body), then it will be auto-generated.
Notice that specifying a username in the URL and a different one in the request body is not allowed.
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Consumer request body
| username required | string The unique username of the Consumer. You must send either this field or custom_id with the request. |
| custom_id required | string Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or username with the request. |
| tags | Array of strings An optional set of strings associated with the Consumer for grouping and filtering. |
{- "username": "string",
- "custom_id": "string",
- "tags": [
- "string"
]
}{- "data": [
- {
- "id": "a4407883-c166-43fd-80ca-3ca035b0cdb7",
- "created_at": 1422386534,
- "username": "my-username",
- "custom_id": "my-custom-id",
- "updated_at": "1422386534",
- "tags": [
- "admin"
]
}
],
}Returns a list of active consumer groups.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "created_at": 1685551597,
- "id": "0cf03a37-8987-4c3b-a792-5b1db3eeedc6",
- "name": "test",
- "tags": [
- "tag1"
], - "updated_at": 1685551597
}
]
}Create a consumer group by passing a name and optional tags in the request body.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Consumer groups request body
| name required | string A unique name for the consumer group you want to create. |
| tags | Array of strings An optional set of strings associated with the consumer group for grouping and filtering. |
{- "name": "Example",
- "tags": [
- "string"
]
}{- "data": [
- {
- "created_at": 1685551597,
- "id": "0cf03a37-8987-4c3b-a792-5b1db3eeedc6",
- "name": "test",
- "tags": [
- "tag1"
], - "updated_at": 1685551597
}
]
}Delete a consumer group. Deleting a consumer group removes all consumers from that group. This operation does not delete existing consuemrs.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Return information about a specific consumer group by passing the group_id as a path parameter.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| group_id required | string Example: be4bcfca-b1df-4fac-83cc-5cf6774bf48e The UUID of the consumer group. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "created_at": 1685551597,
- "id": "0cf03a37-8987-4c3b-a792-5b1db3eeedc6",
- "name": "test",
- "tags": [
- "tag1"
], - "updated_at": 1685551597
}
]
}Create a consumer group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| group_id required | string Example: be4bcfca-b1df-4fac-83cc-5cf6774bf48e The UUID of the consumer group. |
Consumer request body
| username required | string The unique username of the Consumer. You must send either this field or custom_id with the request. |
| custom_id required | string Field for storing an existing unique ID for the Consumer - useful for mapping Kong with users in your existing database. You must send either this field or username with the request. |
| tags | Array of strings An optional set of strings associated with the Consumer for grouping and filtering. |
{- "username": "string",
- "custom_id": "string",
- "tags": [
- "string"
]
}{- "data": [
- {
- "id": "a4407883-c166-43fd-80ca-3ca035b0cdb7",
- "created_at": 1422386534,
- "username": "my-username",
- "custom_id": "my-custom-id",
- "updated_at": "1422386534",
- "tags": [
- "admin"
]
}
],
}Delete consumer group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| group_id required | string Example: be4bcfca-b1df-4fac-83cc-5cf6774bf48e The UUID of the consumer group. |
Returns a list of consumers that belong to a consumer group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| group_id required | string Example: be4bcfca-b1df-4fac-83cc-5cf6774bf48e The UUID of the consumer group. |
{- "data": [
- {
- "created_at": 1685551597,
- "id": "0cf03a37-8987-4c3b-a792-5b1db3eeedc6",
- "name": "test",
- "tags": [
- "tag1"
], - "updated_at": 1685551597
}
]
}Add a consumer to a group
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| group_id required | string Example: be4bcfca-b1df-4fac-83cc-5cf6774bf48e The UUID of the consumer group. |
| consumer | string The consumer ID for the consumer that you want to add to a group. |
{- "consumer": "288f2bfc-04e2-4ec3-b6f3-40408dff5417"
}{- "consumer_group": {
- "created_at": 1685551597,
- "id": "04fbeacf-a9f1-4a5d-ae4a-b0407445db3f",
- "name": "example",
- "tags": [
- "string"
], - "updated_at": 1685551597
}, - "consumers": [
- {
- "created_at": 1685551597,
- "custom_id": null,
- "id": "0cf03a37-8987-4c3b-a792-5b1db3eeedc6",
- "tags": [
- "string"
], - "updated_at": 1685551597,
- "username": "example-username"
}
]
}Removes all consumers from a consumer group. Does not delete any consumers.consumers.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| group_id required | string Example: be4bcfca-b1df-4fac-83cc-5cf6774bf48e The UUID of the consumer group. |
View all consumer groups that a consumer is assigned to.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
{- "data": [
- {
- "created_at": 1685551597,
- "id": "0cf03a37-8987-4c3b-a792-5b1db3eeedc6",
- "name": "test",
- "tags": [
- "tag1"
], - "updated_at": 1685551597
}
]
}Add a consumer to a specific consumer group.
If you add a consumer to multiple groups:
If all groups are allowed by the Rate Limiting Advanced plugin, only the first group’s settings will apply. Otherwise, whichever group is specified in the Rate Limiting Advanced plugin will be active.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
| group | string The consumer group UUID. |
{- "group": "1e965e47-d185-4e9e-8bc7-94ea6ae75b2e"
}{- "data": [
- {
- "created_at": 1685551597,
- "id": "0cf03a37-8987-4c3b-a792-5b1db3eeedc6",
- "name": "test",
- "tags": [
- "tag1"
], - "updated_at": 1685551597
}
]
}Remove a consumer from all groups
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| consumer_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The unique identifier or the username of the Consumer to retrieve. |
Retrieve a list of all available certificate/ You can use query parameters to filter the results by size or tags, for example /certificates?size=50&tags=enterprise.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "cert": "-----BEGIN CERTIFICATE-----\\ncertificate-content\\n-----END CERTIFICATE-----",
- "created_at": 1422386534,
- "id": "7fca84d6-7d37-4a74-a7b0-93e576089a41",
- "key": " -----BEGIN RSA PRIVATE KEY-----...",
- "metadata": {
- "expiry": "4840697418",
- "issuer": "CN=Example certificate name Self-Signed Certificate,O=example\\, https://example.com,C=UA",
- "key_usages": [
- "KEY_USAGE_TYPE_DIGITAL_SIGNATURE",
- "KEY_USAGE_TYPE_KEY_CERT_SIGN",
- "KEY_USAGE_TYPE_CRL_SIGN",
- "KEY_USAGE_TYPE_ENCIPHER_ONLY"
], - "subject": "CN=cert_name,O=Example\\, https://example.com,C=UA"
}, - "tags": [
- "high-level",
- "temporary"
], - "updated_at": 1422386534
}
]
}Create a new certificate with the provided details. Use this endpoint to add a new certificate to the system. The request body must include the certificate data and other details required for creating a new certificate.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| cert required | string PEM-encoded public certificate chain of the SSL key pair. |
| key required | string PEM-encoded private key of the SSL key pair. |
| cert_alt | string PEM-encoded public certificate chain of the alternate SSL key pair. |
| key_alt | string PEM-encoded private key of the alternate SSL key pair. |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
{- "cert": "-----BEGIN CERTIFICATE-----...,",
- "key": "-----BEGIN RSA PRIVATE KEY-----...",
- "cert_alt": "string",
- "key_alt": "-----BEGIN EC PRIVATE KEY-----...",
- "tags": [
- "string"
]
}{- "data": [
- {
- "cert": "-----BEGIN CERTIFICATE-----\\ncertificate-content\\n-----END CERTIFICATE-----",
- "created_at": 1422386534,
- "id": "7fca84d6-7d37-4a74-a7b0-93e576089a41",
- "key": " -----BEGIN RSA PRIVATE KEY-----...",
- "metadata": {
- "expiry": "4840697418",
- "issuer": "CN=Example certificate name Self-Signed Certificate,O=example\\, https://example.com,C=UA",
- "key_usages": [
- "KEY_USAGE_TYPE_DIGITAL_SIGNATURE",
- "KEY_USAGE_TYPE_KEY_CERT_SIGN",
- "KEY_USAGE_TYPE_CRL_SIGN",
- "KEY_USAGE_TYPE_ENCIPHER_ONLY"
], - "subject": "CN=cert_name,O=Example\\, https://example.com,C=UA"
}, - "tags": [
- "high-level",
- "temporary"
], - "updated_at": 1422386534
}
]
}Delete a Certificate
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| certificate_id required | string ID of the Certificate to delete |
Retrieve details about the specified certificate using the provided path parameter certificate_id.
| certificate_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Certificate to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "-----BEGIN PRIVATE KEY-----\nprivate-key-content\n-----END PRIVATE KEY-----"
}Update details about the specified certificate using the provided path parameter certificate_id.
Inserts (or replaces) the certificate under the requested certificate_idwith the definition specified in the request body. When the id attribute has the structure of a UUID, the certificate being inserted/replaced will be identified by its id. Otherwise it will be identified by the name.
When creating a new Certificate without specifying id (neither in the path or the request body), then it will be auto-generated.
| certificate_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Certificate to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| cert required | string PEM-encoded public certificate chain of the SSL key pair. |
| key required | string PEM-encoded private key of the SSL key pair. |
| cert_alt | string PEM-encoded public certificate chain of the alternate SSL key pair. |
| key_alt | string PEM-encoded private key of the alternate SSL key pair. |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
{- "cert": "-----BEGIN CERTIFICATE-----...,",
- "key": "-----BEGIN RSA PRIVATE KEY-----...",
- "cert_alt": "string",
- "key_alt": "-----BEGIN EC PRIVATE KEY-----...",
- "tags": [
- "string"
]
}{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "-----BEGIN PRIVATE KEY-----\nprivate-key-content\n-----END PRIVATE KEY-----"
}Retrieve a paginated list of all SNIs associated with a certificate. Use this endpoint to retrieve a list of SNIs that are linked to a specific certificate. You can use the optional query parameters to filter the results based on specific criteria. The response will include the list of SNIs and pagination information. See the response schema for details on the expected format of the response body.
| certificate_name_or_id required | string Enum: "a3ad71a8-6685-4b03-a101-980a953544f6" "name" Example: name The unique identifier or the |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "certificate": {
- "id": "e94215b0-9198-42ce-bf0b-98afff31b2a7"
}, - "created_at": 1685646239,
- "id": "cf3b640e-100e-4fa4-aef6-2dc0488d7a58",
- "name": "my-sni",
- "updated_at": 1685646239
}Create a new SNI and associate it with a certificate in the system. Use this endpoint to add a new SNI to the system and link it to a specific certificate.
| certificate_name_or_id required | string Enum: "a3ad71a8-6685-4b03-a101-980a953544f6" "name" Example: name The unique identifier or the |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
A JSON object containing the details of the new SNI, including the name, certificate, and tags.
| name required | string The SNI name to associate with the given certificate. |
| tags | Array of strings An optional set of strings associated with the SNIs for grouping and filtering. |
required | object The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. With form-encoded, the notation is |
{- "name": "my-sni",
- "tags": [
- "[user-level, low-priority]"
], - "certificate": {
- "id": "91020192-062d-416f-a275-9addeeaffaf2"
}
}{- "certificate": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}, - "id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "some.example.org"
}Delete a an SNI associated with a a Certificate using an ID.
| certificate_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Certificate to retrieve. |
| sni_id required | string Example: my-sni The unique identifier or the name of the SNI to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get an SNI associated with a Certificate using ID or name.
| certificate_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Certificate to retrieve. |
| sni_id required | string Example: my-sni The unique identifier or the name of the SNI to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "certificate": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}, - "id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "some.example.org"
}Create or Update an SNI associated with a Certificate using ID or name.
Inserts (or replaces) the SNI under the requested resource with the definition specified in the body. The SNI will be identified by the id attribute.
When the name or id attribute has the structure of a UUID, the SNI being inserted/replaced will be identified by its id. Otherwise it will be identified by its name.
When creating a new SNI without specifying id (neither in the URL nor in the body), then it will be auto-generated.
| certificate_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Certificate to retrieve. |
| sni_id required | string Example: my-sni The unique identifier or the name of the SNI to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Description of the SNI
object The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. | |
| created_at | integer Unix epoch when the resource was created. |
| id | string |
| name | string The SNI name to associate with the given certificate. |
| tags | Array of strings An optional set of strings associated with the SNIs for grouping and filtering. |
{- "certificate": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}, - "id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "some.example.org"
}{- "certificate": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}, - "id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "some.example.org"
}List all SNIs
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "certificate": {
- "id": "e94215b0-9198-42ce-bf0b-98afff31b2a7"
}, - "created_at": 1685646239,
- "id": "cf3b640e-100e-4fa4-aef6-2dc0488d7a58",
- "name": "my-sni",
- "updated_at": 1685646239
}Create a new SNI
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
A JSON object containing the details of the new SNI, including the name, certificate, and tags.
| name required | string The SNI name to associate with the given certificate. |
| tags | Array of strings An optional set of strings associated with the SNIs for grouping and filtering. |
required | object The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. With form-encoded, the notation is |
{- "name": "my-sni",
- "tags": [
- "[user-level, low-priority]"
], - "certificate": {
- "id": "91020192-062d-416f-a275-9addeeaffaf2"
}
}{- "certificate": {
- "id": "e94215b0-9198-42ce-bf0b-98afff31b2a7"
}, - "created_at": 1685646239,
- "id": "cf3b640e-100e-4fa4-aef6-2dc0488d7a58",
- "name": "my-sni",
- "updated_at": 1685646239
}Delete an SNI
| sni_id required | string Example: my-sni The unique identifier or the name of the SNI to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get an SNI using ID or name.
| sni_id required | string Example: my-sni The unique identifier or the name of the SNI to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "certificate": {
- "id": "e94215b0-9198-42ce-bf0b-98afff31b2a7"
}, - "created_at": 1685646239,
- "id": "cf3b640e-100e-4fa4-aef6-2dc0488d7a58",
- "name": "my-sni",
- "updated_at": 1685646239
}Create or Update SNI using ID or name.
| sni_id required | string Example: my-sni The unique identifier or the name of the SNI to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
A JSON object containing the details of the new SNI, including the name, certificate, and tags.
| name required | string The SNI name to associate with the given certificate. |
| tags | Array of strings An optional set of strings associated with the SNIs for grouping and filtering. |
required | object The id (a UUID) of the certificate with which to associate the SNI hostname. The Certificate must have a valid private key associated with it to be used by the SNI object. With form-encoded, the notation is |
{- "name": "my-sni",
- "tags": [
- "[user-level, low-priority]"
], - "certificate": {
- "id": "91020192-062d-416f-a275-9addeeaffaf2"
}
}{- "certificate": {
- "id": "e94215b0-9198-42ce-bf0b-98afff31b2a7"
}, - "created_at": 1685646239,
- "id": "cf3b640e-100e-4fa4-aef6-2dc0488d7a58",
- "name": "my-sni",
- "updated_at": 1685646239
}Retrieve a list of all available Certificate Authority (CA) certificates, including the certificate ID, creation date, and other details. You can use query parameters to filter the results by size or tags, for example /ca-certificates?size=50&tags=enterprise.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}Create a new Certificate Authority (CA) certificate. The request body must include the cert property, the certificate data in PEM format; it can also include cert_digest, a digest of the certificate in hex format for verifying the certificates integrity, and tags, an optional list of tags to categorize the certificate.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
This request body represents a new Certificate Authority (CA) certificate and includes the properties required to create a new certificate.
| cert required | string PEM-encoded public certificate of the CA. |
| cert_digest | string SHA256 hex digest of the public certificate. |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
{- "cert": "-----BEGIN CERTIFICATE-----...",
- "cert_digest": "c641e28d77e93544f2fa87b2cf3f3d51...",
- "tags": [
- "string"
]
}{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}Delete the specified Certificate Authority (CA) certificate using the provided ca_certificate_id.
| ca_certificate_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the related certificate |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Retrieve details about the specified Certificate Authority (CA) certificate using the provided path parameter ca_certificate_id.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| ca_certificate_id required | string Examples:
The unique identifier of the certificate to retrieve. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}Create or Update a CA Certificate using the provided path parameter ca_certificate_id.
| ca_certificate_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the related certificate |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
This request body represents a new Certificate Authority (CA) certificate and includes the properties required to create a new certificate.
| cert required | string PEM-encoded public certificate of the CA. |
| cert_digest | string SHA256 hex digest of the public certificate. |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
{- "cert": "-----BEGIN CERTIFICATE-----...",
- "cert_digest": "c641e28d77e93544f2fa87b2cf3f3d51...",
- "tags": [
- "string"
]
}{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}List all registered upstreams. You can filter the results by pagination size, offset, or tags like /upstreams?size=10&offset=0.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "algorithm": "round-robin",
- "hash_fallback": "none",
- "hash_on": "none",
- "hash_on_cookie_path": "/",
- "healthchecks": {
- "active": {
- "concurrency": 10,
- "healthy": {
- "http_statuses": [
- 200,
- 302
], - "interval": 0,
- "successes": 0
}, - "http_path": "/",
- "https_verify_certificate": true,
- "timeout": 1,
- "type": "http",
- "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 404,
- 500,
- 501,
- 502,
- 503,
- 504,
- 505
], - "interval": 0,
- "tcp_failures": 0,
- "timeouts": 0
}
}, - "passive": {
- "healthy": {
- "http_statuses": [
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 226,
- 300,
- 301,
- 302,
- 303,
- 304,
- 305,
- 306,
- 307,
- 308
], - "successes": 0
}, - "type": "http",
- "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 500,
- 503
], - "tcp_failures": 0,
- "timeouts": 0
}
}, - "threshold": 0
}, - "id": "6eed5e9c-5398-4026-9a4c-d48f18a2431e",
- "name": "api.example.internal",
- "slots": 10000
}
], - "offset": "string"
}Create a new Upstream
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name required | string This is a hostname, which must be equal to the |
| algorithm | string Default: "round-robin" Enum: "consistent-hashing" "least-connections" "round-robin" Which load balancing algorithm to use. Accepted values are: |
| hash_on | string Default: "none" Enum: "none" "consumer" "ip" "cookie" "uri_capture" "path" "query_arg" What to use as hashing input. Using none results in a weighted-round-robin scheme with no hashing |
| hash_fallback | string Default: "none" Enum: "none" "consumer" "ip" "cookie" "uri_capture" "path" "query_arg" What to use as hashing input if the primary hash_on does not return a hash (eg. header is missing, or no Consumer identified). Not available if hash_on is set to cookie. |
| hash_on_header | string The header name to take the value from as hash input. Only required when |
| hash_fallback_header | string Default: "none" The header name to take the value from as hash input. Only required when hash_fallback is set to header. |
| hash_on_cookie | string The cookie name to take the value from as hash input. Only required when |
| hash_on_cookie_path | string Default: "/" The cookie path to set in the response headers. Only required when |
| hash_on_query_arg | string The name of the query string argument to take the value from as hash input. Only required when |
| hash_fallback_query_arg | string The name of the query string argument to take the value from as hash input. Only required when |
| hash_on_uri_capture | string The name of the route URI capture to take the value from as hash input. Only required when |
| hash_fallback_uri_capture | string The name of the route URI capture to take the value from as hash input. Only required when |
| slots | integer [ 10 .. 65536 ] Default: 10000 The number of slots in the load balancer algorithm. If the algorithm is set to |
object | |
| tags | Array of strings An optional set of strings associated with the Upstream for grouping and filtering. |
| host_header | string The hostname to be used as Host header when proxying requests through Kong. |
object If set, the certificate to be used as client certificate while TLS handshaking to the upstream server. |
{- "name": "my-upstream",
- "algorithm": "round-robin",
- "hash_on": "none",
- "hash_fallback": "none",
- "hash_on_cookie_path": "/",
- "slots": 10000,
- "healthchecks": {
- "passive": {
- "type": "http",
- "healthy": {
- "http_statuses": [
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 226,
- 300,
- 301,
- 302,
- 303,
- 304,
- 305,
- 306,
- 307,
- 308
], - "successes": 0
}, - "unhealthy": {
- "http_statuses": [
- 429,
- 500,
- 503
], - "timeouts": 0,
- "http_failures": 0,
- "tcp_failures": 0
}
}, - "active": {
- "https_verify_certificate": true,
- "healthy": {
- "http_statuses": [
- 200,
- 302
], - "successes": 0,
- "interval": 0
}, - "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 404,
- 500,
- 501,
- 502,
- 503,
- 504,
- 505
], - "timeouts": 0,
- "tcp_failures": 0,
- "interval": 0
}, - "type": "http",
- "concurrency": 10,
- "headers": {
- "type": "object",
- "properties": {
- "x-my-header": {
- "description": "The value(s) of the x-my-header header.",
- "type": "array",
- "items": {
- "type": "string"
}
}, - "x-another-header": {
- "description": "The value(s) of the x-another-header header.",
- "type": "array",
- "items": {
- "type": "string"
}
}
}
}, - "timeout": 1,
- "http_path": "/",
- "https_sni": "example.com"
}, - "threshold": 0
}, - "tags": [
- "user-level",
- "low-priority"
], - "host_header": "example.com",
- "client_certificate": {
- "id": "ea29aaa3-3b2d-488c-b90c-56df8e0dd8c6"
}, - "use_srv_name": false
}{- "algorithm": "round-robin",
- "hash_fallback": "none",
- "hash_on": "none",
- "hash_on_cookie_path": "/",
- "healthchecks": {
- "active": {
- "concurrency": 10,
- "healthy": {
- "http_statuses": [
- 200,
- 302
], - "interval": 0,
- "successes": 0
}, - "http_path": "/",
- "https_verify_certificate": true,
- "timeout": 1,
- "type": "http",
- "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 404,
- 500,
- 501,
- 502,
- 503,
- 504,
- 505
], - "interval": 0,
- "tcp_failures": 0,
- "timeouts": 0
}
}, - "passive": {
- "healthy": {
- "http_statuses": [
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 226,
- 300,
- 301,
- 302,
- 303,
- 304,
- 305,
- 306,
- 307,
- 308
], - "successes": 0
}, - "type": "http",
- "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 500,
- 503
], - "tcp_failures": 0,
- "timeouts": 0
}
}, - "threshold": 0
}, - "id": "6eed5e9c-5398-4026-9a4c-d48f18a2431e",
- "name": "api.example.internal",
- "slots": 10000
}Delete an Upstream
| upstream_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Upstream associated to the Certificate to be retrieved. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get an Upstream using ID or name.
| upstream_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Upstream associated to the Certificate to be retrieved. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "algorithm": "round-robin",
- "hash_fallback": "none",
- "hash_on": "none",
- "hash_on_cookie_path": "/",
- "healthchecks": {
- "active": {
- "concurrency": 10,
- "healthy": {
- "http_statuses": [
- 200,
- 302
], - "interval": 0,
- "successes": 0
}, - "http_path": "/",
- "https_verify_certificate": true,
- "timeout": 1,
- "type": "http",
- "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 404,
- 500,
- 501,
- 502,
- 503,
- 504,
- 505
], - "interval": 0,
- "tcp_failures": 0,
- "timeouts": 0
}
}, - "passive": {
- "healthy": {
- "http_statuses": [
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 226,
- 300,
- 301,
- 302,
- 303,
- 304,
- 305,
- 306,
- 307,
- 308
], - "successes": 0
}, - "type": "http",
- "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 500,
- 503
], - "tcp_failures": 0,
- "timeouts": 0
}
}, - "threshold": 0
}, - "id": "6eed5e9c-5398-4026-9a4c-d48f18a2431e",
- "name": "api.example.internal",
- "slots": 10000
}Create or Update Upstream using ID or name.
| upstream_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Upstream associated to the Certificate to be retrieved. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name required | string This is a hostname, which must be equal to the |
| algorithm | string Default: "round-robin" Enum: "consistent-hashing" "least-connections" "round-robin" Which load balancing algorithm to use. Accepted values are: |
| hash_on | string Default: "none" Enum: "none" "consumer" "ip" "cookie" "uri_capture" "path" "query_arg" What to use as hashing input. Using none results in a weighted-round-robin scheme with no hashing |
| hash_fallback | string Default: "none" Enum: "none" "consumer" "ip" "cookie" "uri_capture" "path" "query_arg" What to use as hashing input if the primary hash_on does not return a hash (eg. header is missing, or no Consumer identified). Not available if hash_on is set to cookie. |
| hash_on_header | string The header name to take the value from as hash input. Only required when |
| hash_fallback_header | string Default: "none" The header name to take the value from as hash input. Only required when hash_fallback is set to header. |
| hash_on_cookie | string The cookie name to take the value from as hash input. Only required when |
| hash_on_cookie_path | string Default: "/" The cookie path to set in the response headers. Only required when |
| hash_on_query_arg | string The name of the query string argument to take the value from as hash input. Only required when |
| hash_fallback_query_arg | string The name of the query string argument to take the value from as hash input. Only required when |
| hash_on_uri_capture | string The name of the route URI capture to take the value from as hash input. Only required when |
| hash_fallback_uri_capture | string The name of the route URI capture to take the value from as hash input. Only required when |
| slots | integer [ 10 .. 65536 ] Default: 10000 The number of slots in the load balancer algorithm. If the algorithm is set to |
object | |
| tags | Array of strings An optional set of strings associated with the Upstream for grouping and filtering. |
| host_header | string The hostname to be used as Host header when proxying requests through Kong. |
object If set, the certificate to be used as client certificate while TLS handshaking to the upstream server. |
{- "name": "my-upstream",
- "algorithm": "round-robin",
- "hash_on": "none",
- "hash_fallback": "none",
- "hash_on_cookie_path": "/",
- "slots": 10000,
- "healthchecks": {
- "passive": {
- "type": "http",
- "healthy": {
- "http_statuses": [
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 226,
- 300,
- 301,
- 302,
- 303,
- 304,
- 305,
- 306,
- 307,
- 308
], - "successes": 0
}, - "unhealthy": {
- "http_statuses": [
- 429,
- 500,
- 503
], - "timeouts": 0,
- "http_failures": 0,
- "tcp_failures": 0
}
}, - "active": {
- "https_verify_certificate": true,
- "healthy": {
- "http_statuses": [
- 200,
- 302
], - "successes": 0,
- "interval": 0
}, - "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 404,
- 500,
- 501,
- 502,
- 503,
- 504,
- 505
], - "timeouts": 0,
- "tcp_failures": 0,
- "interval": 0
}, - "type": "http",
- "concurrency": 10,
- "headers": {
- "type": "object",
- "properties": {
- "x-my-header": {
- "description": "The value(s) of the x-my-header header.",
- "type": "array",
- "items": {
- "type": "string"
}
}, - "x-another-header": {
- "description": "The value(s) of the x-another-header header.",
- "type": "array",
- "items": {
- "type": "string"
}
}
}
}, - "timeout": 1,
- "http_path": "/",
- "https_sni": "example.com"
}, - "threshold": 0
}, - "tags": [
- "user-level",
- "low-priority"
], - "host_header": "example.com",
- "client_certificate": {
- "id": "ea29aaa3-3b2d-488c-b90c-56df8e0dd8c6"
}, - "use_srv_name": false
}{- "id": "58c8ccbb-eafb-4566-991f-2ed4f678fa70",
- "created_at": 1422386534,
- "name": "my-upstream",
- "algorithm": "round-robin",
- "hash_on": "none",
- "hash_fallback": "none",
- "hash_on_cookie_path": "/",
- "slots": 10000,
- "healthchecks": {
- "passive": {
- "type": "http",
- "healthy": {
- "http_statuses": [
- 200,
- 201,
- 202,
- 203,
- 204,
- 205,
- 206,
- 207,
- 208,
- 226,
- 300,
- 301,
- 302,
- 303,
- 304,
- 305,
- 306,
- 307,
- 308
], - "successes": 0
}, - "unhealthy": {
- "http_statuses": [
- 429,
- 500,
- 503
], - "timeouts": 0,
- "http_failures": 0,
- "tcp_failures": 0
}
}, - "active": {
- "https_verify_certificate": true,
- "healthy": {
- "http_statuses": [
- 200,
- 302
], - "successes": 0,
- "interval": 0
}, - "unhealthy": {
- "http_failures": 0,
- "http_statuses": [
- 429,
- 404,
- 500,
- 501,
- 502,
- 503,
- 504,
- 505
], - "timeouts": 0,
- "tcp_failures": 0,
- "interval": 0
}, - "type": "http",
- "concurrency": 10,
- "headers": {
- "type": "object",
- "properties": {
- "x-my-header": {
- "description": "The value(s) of the x-my-header header.",
- "type": "array",
- "items": {
- "type": "string"
}
}, - "x-another-header": {
- "description": "The value(s) of the x-another-header header.",
- "type": "array",
- "items": {
- "type": "string"
}
}
}
}, - "timeout": 1,
- "http_path": "/",
- "https_sni": "example.com"
}, - "threshold": 0
}, - "tags": [
- "user-level",
- "low-priority"
], - "host_header": "example.com",
- "client_certificate": {
- "id": "ea29aaa3-3b2d-488c-b90c-56df8e0dd8c6"
}, - "use_srv_name": false
}List all Vaults
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "tags": [
- "foo",
- "bar"
]
}
], - "offset": "string"
}Create a new Vault
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| prefix | string The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities. |
| name | string The name of the Vault that’s going to be added. Currently, the Vault implementation must be installed in every Kong instance. |
| description | string The description of the Vault object. |
object The configuration properties for the Vault which can be found on the vaults’ documentation page. | |
| tags | Array of strings An optional set of strings associated with the Vault for grouping and filtering. |
{- "prefix": "pre",
- "name": "env",
- "description": "This vault is used to retrieve redis database access credentials",
- "config": {
- "prefix": "SSL_"
}, - "tags": [
- "database-credentials",
- "data-plane"
]
}{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "tags": [
- "foo",
- "bar"
]
}Delete a Vault
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| vault_id_or_prefix required | string ID or prefix of the Vault to delete |
Get a Vault using ID or prefix.
Vault entities are used to configure different Vault connectors.
| vault_id_or_prefix required | string Example: env The unique identifier or the prefix of the Vault to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "tags": [
- "foo",
- "bar"
]
}Create or Update Vault using ID or prefix.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| vault_id_or_prefix required | string Name or ID of the Vault to lookup |
| prefix | string The unique prefix (or identifier) for this Vault configuration. The prefix is used to load the right Vault configuration and implementation when referencing secrets with the other entities. |
| name | string The name of the Vault that’s going to be added. Currently, the Vault implementation must be installed in every Kong instance. |
| description | string The description of the Vault object. |
object The configuration properties for the Vault which can be found on the vaults’ documentation page. | |
| tags | Array of strings An optional set of strings associated with the Vault for grouping and filtering. |
{- "prefix": "pre",
- "name": "env",
- "description": "This vault is used to retrieve redis database access credentials",
- "config": {
- "prefix": "SSL_"
}, - "tags": [
- "database-credentials",
- "data-plane"
]
}{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "tags": [
- "foo",
- "bar"
]
}List all Keys
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "data": [
- {
- "id": "d958f66b-8e99-44d2-b0b4-edd5bbf24658",
- "jwk": "{alg:RSA, kid: 42, ...}",
- "kid": "42",
- "name": "a-key",
- "pem": {
- "private_key": "-----BEGIN",
- "public_key": "-----BEGIN"
}, - "set": {
- "id": "b86b331c-dcd0-4b3e-97ce-47c5a9543031"
}
}
], - "offset": "string"
}This API endpoint allows you to create a new key. When the request is successful, the API will respond with a 200 status code and a JSON object that represents the newly created key. If the request is invalid, the API will respond with a 400 status code and an error message in the response body.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
object The id (an UUID) of the key-set with which to associate the key .With form-encoded, the notation is | |
| name | string The name to associate with the given keys. |
| kid required | string A unique identifier for a key. |
| jwk | string A JSON Web Key represented as a string. |
object A keypair in PEM format. | |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
{- "set": {
- "id": "string"
}, - "name": "my-key",
- "kid": "42",
- "jwk": "{\\alg\\:\\RSA\\, \\kid\\: \\42\\, ...}",
- "pem": {
- "private_key": "private_key: -----BEGIN",
- "public_key": "public_key: -----BEGIN"
}, - "tags": [
- "string"
]
}{- "id": "d958f66b-8e99-44d2-b0b4-edd5bbf24658",
- "jwk": "{alg:RSA, kid: 42, ...}",
- "kid": "42",
- "name": "a-key",
- "pem": {
- "private_key": "-----BEGIN",
- "public_key": "-----BEGIN"
}, - "set": {
- "id": "b86b331c-dcd0-4b3e-97ce-47c5a9543031"
}
}Delete a Key
| key_id_or_name required | string Example: 24D0DBDA-671C-11ED-BA0B-EF1DCCD3725 The unique identifier or the name of the Key to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get a Key using ID or name.
| key_id_or_name required | string Example: 24D0DBDA-671C-11ED-BA0B-EF1DCCD3725 The unique identifier or the name of the Key to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "id": "d958f66b-8e99-44d2-b0b4-edd5bbf24658",
- "jwk": "{alg:RSA, kid: 42, ...}",
- "kid": "42",
- "name": "a-key",
- "pem": {
- "private_key": "-----BEGIN",
- "public_key": "-----BEGIN"
}, - "set": {
- "id": "b86b331c-dcd0-4b3e-97ce-47c5a9543031"
}
}Create or Update Key using ID or name.
| key_id_or_name required | string Example: 24D0DBDA-671C-11ED-BA0B-EF1DCCD3725 The unique identifier or the name of the Key to retrieve. |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
object The id (an UUID) of the key-set with which to associate the key .With form-encoded, the notation is | |
| name | string The name to associate with the given keys. |
| kid required | string A unique identifier for a key. |
| jwk | string A JSON Web Key represented as a string. |
object A keypair in PEM format. | |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
{- "set": {
- "id": "string"
}, - "name": "my-key",
- "kid": "42",
- "jwk": "{\\alg\\:\\RSA\\, \\kid\\: \\42\\, ...}",
- "pem": {
- "private_key": "private_key: -----BEGIN",
- "public_key": "public_key: -----BEGIN"
}, - "tags": [
- "string"
]
}{- "id": "d958f66b-8e99-44d2-b0b4-edd5bbf24658",
- "jwk": "{alg:RSA, kid: 42, ...}",
- "kid": "42",
- "name": "a-key",
- "pem": {
- "private_key": "-----BEGIN",
- "public_key": "-----BEGIN"
}, - "set": {
- "id": "b86b331c-dcd0-4b3e-97ce-47c5a9543031"
}
}Retrieve a list of all Key-sets in the system. A Key Set object holds a collection of asymmetric key objects. This entity allows to logically group keys by their purpose. Key Sets can be both tagged and filtered by tags.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "id": "4D0DBDA-671C-11ED-BA0B-EF1DCCD3725F",
- "name": "my-key_set",
- "created_at": 1422386534,
- "updated_at": 1422386534,
- "tags": [
- "string"
],
}This endpoint allows creating a new Key-set by sending a JSON object that describes the Key-set to be created.The request body must contain all the fields required to create a new Key-set.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name | string The name to associate with the given key-set. |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
{- "name": "my-key_set",
- "tags": [
- "string"
]
}{- "id": "4D0DBDA-671C-11ED-BA0B-EF1DCCD3725F",
- "name": "my-key_set",
- "created_at": 1422386534,
- "updated_at": 1422386534,
- "tags": [
- "string"
],
}Delete a Key-set.
| key-set_id_or_name required | string Example: 46CA83EE-671C-11ED-BFAB-2FE47512C77A The unique identifier or the |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
This endpoint retrieves information about a specific key-set based on its ID or name.
| key-set_id_or_name required | string Example: 46CA83EE-671C-11ED-BFAB-2FE47512C77A The unique identifier or the |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "id": "4D0DBDA-671C-11ED-BA0B-EF1DCCD3725F",
- "name": "my-key_set",
- "created_at": 1422386534,
- "updated_at": 1422386534,
- "tags": [
- "string"
],
}Update a Key-set using ID or name.
| key-set_id_or_name required | string Example: 46CA83EE-671C-11ED-BFAB-2FE47512C77A The unique identifier or the |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name | string The name to associate with the given key-set. |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
{- "name": "my-key_set",
- "tags": [
- "string"
]
}{- "id": "4D0DBDA-671C-11ED-BA0B-EF1DCCD3725F",
- "name": "my-key_set",
- "created_at": 1422386534,
- "updated_at": 1422386534,
- "tags": [
- "string"
],
}Retrieve the schema of a plugin’s configuration. This is useful to understand what fields a plugin accepts, and can be used for building third-party integrations to the Kong’s plugin system.
| plugin_name required | string Example: basic-auth The name of a Kong plugin |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
Change the log level of all Control Plane nodes deployed in Hybrid (CP/DP) cluster.
See the NGINX docs for a list of accepted values.
Care must be taken when changing the log level of a node to debug in a production environment because the disk could fill up quickly. As soon as the debug logging finishes, revert back to a higher level such as notice.
It’s currently not possible to change the log level of DP and DB-less nodes.
| log_level required | string Enum: "info" "notice" "warn" "error" "crit" Example: warn Log levels are set in Kong’s configuration. Log levels increase in order of their severity |
| runtimeGroupId required | string |
{- "message": "log level changed"
}Change the log level of all nodes in a cluster.
See the NGINX docs for a list of accepted values.
It’s currently not possible to change the log level of DP and DB-less nodes.
Currently, when a user dynamically changes the log level for the entire cluster, if a new node joins a cluster the new node will run at the previous log level, not at the log level that was previously set dynamically for the entire cluster.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| log_level required | string Enum: "info" "notice" "warn" "error" "crit" Example: warn Log levels are set in Kong’s configuration. Log levels increase in order of their severity |
{- "message": "log level changed"
}Retrieve the current log level of a node.
See the NGINX documentation for the list of possible return values.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "message": "log level: debug"
}Change the log level of a node.
See the NGINX documentation for the list of possible return values.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| log_level required | string Enum: "info" "notice" "warn" "error" "crit" Example: warn Log levels are set in Kong’s configuration. Log levels increase in order of their severity |
{- "message": "log level changed"
}List all Targets associated with a an Upstream
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| upstream_id required | string ID or name of the related Upstream |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "upstream": {
- "id": "5f1d7e76-2fed-4806-a6af-869984f025cb"
}, - "weight": 100
}Create a new Target associated with an Upstream
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| upstream_id required | string ID or name of the related Upstream |
object The unique identifier or the name of the upstream for which to update the target. | |
| weight | integer [ 0 .. 65535 ] Default: 100 The weight this target gets within the upstream loadbalancer ( |
| tags | Array of strings An optional set of strings associated with the Target for grouping and filtering. |
| target | string The target IP address |
{- "upstream": {
- "id": "fe335516-b679-44e5-8bf0-f9af0524e230"
}, - "target": "192.158.1.38",
- "weight": 100,
- "tags": [
- "string"
]
}{- "id": "173a6cee-90d1-40a7-89cf-0329eca780a6",
- "created_at": 1422386534,
- "upstream": {
- "id": "bdab0e47-4e37-4f0b-8fd0-87d95cc4addc"
}, - "target": "example.com:8000",
- "weight": 100,
- "tags": [
- "user-level",
- "low-priority"
]
}Delete a a Target associated with a an Upstream using ID or target.
| upstream_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Upstream associated to the Certificate to be retrieved. |
| target_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Get a Target associated with an Upstream using ID or target.
| upstream_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Upstream associated to the Certificate to be retrieved. |
| target_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| offset | string Offset from which to return the next set of resources. Use the value of the 'offset' field from the response of a list operation as input here to paginate through all the resources |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "upstream": {
- "id": "5f1d7e76-2fed-4806-a6af-869984f025cb"
}, - "weight": 100
}Create or Update a Target associated with an Upstream using ID or target.
| upstream_id required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 The unique identifier of the Upstream associated to the Certificate to be retrieved. |
| target_id required | string Example: e94215b0-9198-42ce-bf0b-98afff31b2a7 The |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
object The unique identifier or the name of the upstream for which to update the target. | |
| weight | integer [ 0 .. 65535 ] Default: 100 The weight this target gets within the upstream loadbalancer ( |
| tags | Array of strings An optional set of strings associated with the Target for grouping and filtering. |
| target | string The target IP address |
{- "upstream": {
- "id": "fe335516-b679-44e5-8bf0-f9af0524e230"
}, - "target": "192.158.1.38",
- "weight": 100,
- "tags": [
- "string"
]
}{- "id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "upstream": {
- "id": "5f1d7e76-2fed-4806-a6af-869984f025cb"
}, - "weight": 100
}Retrieve the expected config hash for this runtime group. The expected config hash can be used to verify if the config hash of a runtime instance is up to date with the runtime group. The config hash will be the same if they are in sync.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
{- "expected_hash": "string",
- "created_at": 0,
- "updated_at": 0
}Returns a list of runtime instance records that are associated to this runtime group. A runtime instance record contains all the metadata information of the Kong Gateway dataplane.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| page_size | integer The number of items to include in a page. |
| page_number | integer The specific page number in the collection results. |
{- "items": [
- {
- "id": "string",
- "version": "string",
- "hostname": "string",
- "last_ping": 0,
- "type": "string",
- "created_at": 0,
- "updated_at": 0,
- "config_hash": "string",
- "compatibility_status": {
- "state": "string"
}
}
], - "page": {
- "total_count": 0
}
}Returns a list of records of runtime instances, whose versions are approaching End of Full Support/End of Life, that are associated to this runtime group. Each record contains a runtime's id, version, and corresponding resolution message to upgrade to the closest Long Term Support version.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| page_size | integer The number of items to include in a page. |
| page_number | integer The specific page number in the collection results. |
{- "items": [
- {
- "node_id": "string",
- "node_version": "string",
- "message": "string"
}
], - "page": {
- "total_count": 0
}
}Retrieve a specific runtime instance record associated to this runtime group. A runtime instance record contains all the metadata information of the Kong Gateway dataplane.
| nodeId required | string |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| size | integer [ 1 .. 1000 ] Default: 100 Number of resources to be returned. |
| tags | string Example: tags=tag1,tag2 A list of tags to filter the list of resources on. Multiple tags can be concatenated using ',' to mean AND or using '/' to mean OR. |
{- "item": {
- "id": "string",
- "version": "string",
- "hostname": "string",
- "last_ping": 0,
- "type": "string",
- "created_at": 0,
- "updated_at": 0,
- "config_hash": "string",
- "compatibility_status": {
- "state": "string"
}
}
}Remove a specific runtime instance record associated to this runtime group. Deleting this record does not prevent the runtime instance from re-connecting to the runtime group.
| nodeId required | string |
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Returns a list of pinned dataplane client certificates that are associated to this runtime group. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this runtime group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
{- "items": [
- {
- "id": "string",
- "created_at": 0,
- "updated_at": 0,
- "cert": "string"
}
], - "page": {
- "total_count": 0,
- "next_cursor": "string",
- "has_next_page": true
}
}Pin a new DP Client Certificate to this runtime group. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this runtime group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
Request body for creating a dp-client-certificate.
| cert required | string JSON escaped string of the certificate. |
{- "cert": "-----BEGIN CERTIFICATE-----\r\n*****\r\n-----END CERTIFICATE-----\r\n"
}{- "item": {
- "id": "string",
- "created_at": 0,
- "updated_at": 0,
- "cert": "string"
}
}Retrieve a pinned dataplane client certificate associated to this runtime group. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this runtime group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| certificateId required | string |
| page_size | integer The number of items to include in a page. |
| page_number | integer The specific page number in the collection results. |
{- "item": {
- "id": "string",
- "created_at": 0,
- "updated_at": 0,
- "cert": "string"
}
}Remove a pinned dataplane client certificate associated to this runtime group. Removing a pinned dataplane certificate would invalidate any dataplanes currently connected to this runtime group using this certificate.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| certificateId required | string |
Returns an array of custom plugins schemas associated with a runtime group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| page[size] | integer Example: page[size]=10 The maximum number of items to include per page. The last page of a collection may include fewer items. |
| page[after] | string Example: page[after]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item after this parameter. |
| page[before] | string Example: page[before]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item before this parameter. |
{- "items": [
- {
- "lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }",
- "name": "myplugin",
- "created_at": 1422386534,
- "updated_at": 1422412345
}
], - "page": {
- "total_count": 0
}
}Upload a custom plugin schema associated with a runtime group.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| lua_schema required | string The custom plugin schema; |
{- "lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }"
}{- "item": {
- "lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }",
- "name": "myplugin",
- "created_at": 1422386534,
- "updated_at": 1422412345
}
}Returns information about a custom plugin from a given name.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name required | string Example: myplugin The custom plugin name |
{- "item": {
- "lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }",
- "name": "myplugin",
- "created_at": 1422386534,
- "updated_at": 1422412345
}
}Delete an individual custom plugin schema.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name required | string Example: myplugin The custom plugin name |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Create or update an individual custom plugin schema.
| runtimeGroupId required | string Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The ID of your runtime group. This variable is available in the Konnect manager |
| name required | string Example: myplugin The custom plugin name |
| lua_schema required | string The custom plugin schema; |
{- "lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }"
}{- "item": {
- "lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }",
- "name": "myplugin",
- "created_at": 1422386534,
- "updated_at": 1422412345
}
}