Post a query to the endpoint to retrieve aggregated metrics down to the minute. Data can be requested to group by any 2 dimensions, and any number of filter conditions.
| metrics required | Array of strings <= 3 items Items Enum: "kong_latency_average" "kong_latency_p50" "kong_latency_p95" "kong_latency_p99" "request_count" "request_per_minute" "request_size_average" "request_size_p50" "request_size_p95" "request_size_p99" "request_size_sum" "response_latency_average" "response_latency_p50" "response_latency_p95" "response_latency_p99" "response_size_average" "response_size_p50" "response_size_p95" "response_size_p99" "response_size_sum" "upstream_latency_average" "upstream_latency_p50" "upstream_latency_p95" "upstream_latency_p99" List of aggregated metrics to collect across the requested time span. If no metrics are specified, request_count will be computed by default. |
| dimensions | Array of strings <= 2 items Items Enum: "api_product" "api_product_version" "application" "consumer" "control_plane" "control_plane_group" "data_plane_node" "data_plane_node_version" "gateway_service" "response_source" "route" "status_code" "status_code_grouped" "time" "upstream_status_code" "upstream_status_code_grouped" List of attributes or entity types to group by. |
Array of (MetricsApiProductFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsApiProductVersionFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsApplicationFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsConsumerFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsControlPlaneFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsControlPlaneGroupFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsDataPlaneNodeFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsDataPlaneNodeVersionFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsGatewayServiceFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsResponseSourceFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsRouteFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsStatusCodeFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsStatusCodeGroupedFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsUpstreamStatusCodeFilterByField (Multiselect filters (object) or Empty filters (object))) or (MetricsUpstreamStatusCodeGroupedFilterByField (Multiselect filters (object) or Empty filters (object))) A list of filters to apply to the query. | |
| granularity | string Enum: "tenSecondly" "thirtySecondly" "minutely" "fiveMinutely" "tenMinutely" "thirtyMinutely" "hourly" "twoHourly" "twelveHourly" "daily" "weekly" Force time grouping into buckets of the specified duration. Only has an effect if "time" is in the "dimensions" list. The granularity of the result may be coarser than requested. The finest allowed granularity depends on the query's time range: data farther in the past may have coarser granularity. The exact result granularity will be reported in the response If granularity is not specified and "time" is in the dimensions list, a default will be chosen based on the time range requested. Different relative times support different granularities:
For special time ranges:
For absolute time ranges, daily will be used. |
any Default: {"type":"relative","time_range":"1h"} The time range to query. |
{- "time_range": {
- "type": "relative",
- "time_range": "24h",
- "tz": "EST"
}, - "dimensions": [
- "time",
- "gateway_service"
], - "filters": [
- {
- "operator": "in",
- "field": "control_plane",
- "value": [
- "d5ac5d88-efed-4e10-9dfe-0b0a6646c219"
]
}
], - "granularity": "hourly",
- "metrics": [
- "request_count",
- "response_latency_p99"
]
}{- "data": [
- {
- "event": {
- "gateway_service": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:bf16907c-8673-4f9d-aa83-1f2ea9215055",
- "request_count": 1000,
- "response_latency_p99": 23
}, - "timestamp": "2024-01-16T00:00:00Z"
}, - {
- "event": {
- "gateway_service": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:bf16907c-8673-4f9d-aa83-111111111111",
- "request_count": 10,
- "response_latency_p99": 339
}, - "timestamp": "2024-01-16T01:00:00Z"
}
], - "meta": {
- "start": "2024-01-16T00:00:00.000Z",
- "end": "2024-01-16T02:00:00.000Z",
- "display": {
- "gateway_service": {
- "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:bf16907c-8673-4f9d-aa83-111111111111": {
- "id": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:bf16907c-8673-4f9d-aa83-111111111111",
- "deleted": true,
- "name": "Gateway Service Alpha"
}, - "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:bf16907c-8673-4f9d-aa83-1f2ea9215055": {
- "id": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:bf16907c-8673-4f9d-aa83-1f2ea9215055",
- "deleted": false,
- "name": "Gateway Service Beta"
}
}
}, - "metric_units": {
- "request_count": "count",
- "response_latency_p99": "ms"
}, - "granularity_ms": 60000,
- "truncated": false,
- "limit": 50,
- "query_id": "requested-query-id"
}
}Returns API requests that were proxied through the Kong Gateway.
Array of (ApiProductFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (ApiProductVersionFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (ApplicationFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (AuthTypeFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (ClientIpFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (ConsumerFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (ControlPlaneFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (ControlPlaneGroupFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (DataPlaneNodeFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (DataPlaneNodeVersionFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (GatewayServiceFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (HeaderHostFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (HeaderUserAgentFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (HttpMethodFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (LatenciesKongGatewayMsFilterByField (Multiselect filters (object) or Numeric filters (object) or Empty filters (object))) or (LatenciesResponseMsFilterByField (Multiselect filters (object) or Numeric filters (object) or Empty filters (object))) or (LatenciesUpstreamMsFilterByField (Multiselect filters (object) or Numeric filters (object) or Empty filters (object))) or (ResponseBodySizeFilterByField (Multiselect filters (object) or Numeric filters (object) or Empty filters (object))) or (ResponseHeaderContentLengthFilterByField (Multiselect filters (object) or Numeric filters (object) or Empty filters (object))) or (ResponseSourceFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (RequestBodySizeFilterByField (Multiselect filters (object) or Numeric filters (object) or Empty filters (object))) or (RequestIdFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (RequestUriFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (ResponseHeaderContentTypeFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (RouteFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (ServicePortFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (ServiceProtocolFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (StatusCodeFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (StatusCodeGroupedFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (TraceIdFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) or (UpstreamStatusCodeFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (UpstreamStatusCodeGroupedFilterByField (Multiselect filters (object) or Single select filters (object) or Empty filters (object))) or (UpstreamUriFilterByField (Multiselect filters (object) or Single select filters (object) or Wildcard filters (object) or Empty filters (object))) Default: [] | |
any (FilterTimeRange) Default: {"type":"relative","time_range":"1H"} The period of time to return data. Relative time ranges are relative to the current moment. Absolute time ranges specify an unchanging period of time. If not specified, a default relative timeframe of 1 hour will be chosen. | |
| order | string (FilterOrder) Default: "descending" Enum: "ascending" "descending" Order of results sorted by time. |
| size | integer (FilterSize) Default: 100 Number of requests to be returned. |
| offset | integer (FilterOffset) Default: 0 Number of requests to be skipped when returning results. |
{- "time_range": {
- "type": "relative",
- "time_range": "24H",
- "tz": "EST"
}, - "filters": [
- {
- "operator": "in",
- "field": "api_product",
- "value": [
- "523468b1-2e74-4b58-b30e-6f904e99e4d0",
- "c19b3f76-ef71-484a-bbc8-a07812a980b3"
]
}, - {
- "operator": "in",
- "field": "gateway_service",
- "value": [
- "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:523468b1-2e74-4b58-b30e-6f904e99e4d0"
]
}, - {
- "operator": "not_in",
- "field": "http_method",
- "value": [
- "OPTIONS",
- "GET"
]
}, - {
- "operator": "not_in",
- "field": "status_code_grouped",
- "value": [
- "2XX"
]
}, - {
- "operator": "not_in",
- "field": "status_code",
- "value": [
- 200
]
}
]
}{- "results": [
- {
- "request_start": "2020-02-02T01:00:00.000Z",
- "api_product": "523468b1-2e74-4b58-b30e-6f904e99e4d0",
- "api_product_version": "d40a6dd7-37e8-4937-8dfd-9fa988c7fc3e",
- "application": "bc2587ae-a35e-4a34-b6b2-f4ca5ae06dc9",
- "auth_type": "key-auth",
- "client_ip": "131.174.120.249",
- "consumer": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:d69557ff-277c-4579-a821-4f8d158ae070",
- "control_plane": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219",
- "control_plane_group": "cafe2d4f-95ec-458c-8c88-62417018678d",
- "data_plane_node": "cafe2d4f-95ec-458c-8c88-62417018678d:122a0f86-029c-4292-82fd-f3b38e1cfa60",
- "data_plane_node_version": "3.8.0.1",
- "gateway_service": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:523468b1-2e74-4b58-b30e-6f904e99e4d0",
- "header_host": "google.com",
- "header_user_agent": "Mozilla/4.0 (compatible; Flight Explorer)",
- "http_method": "OPTIONS",
- "latencies_kong_gateway_ms": 2,
- "latencies_response_ms": 117,
- "latencies_upstream_ms": 115,
- "ratelimit_enabled": 1,
- "ratelimit_enabled_day": 0,
- "ratelimit_enabled_hour": 0,
- "ratelimit_enabled_minute": 1,
- "ratelimit_enabled_month": 0,
- "ratelimit_enabled_second": 0,
- "ratelimit_enabled_year": 0,
- "ratelimit_limit": 0,
- "ratelimit_limit_day": 0,
- "ratelimit_limit_hour": 0,
- "ratelimit_limit_minute": 2000,
- "ratelimit_limit_month": 0,
- "ratelimit_limit_second": 0,
- "ratelimit_limit_year": 0,
- "ratelimit_remaining": 498,
- "ratelimit_remaining_day": 0,
- "ratelimit_remaining_hour": 0,
- "ratelimit_remaining_minute": 1997,
- "ratelimit_remaining_month": 0,
- "ratelimit_remaining_second": 0,
- "ratelimit_remaining_year": 0,
- "ratelimit_reset": 0,
- "request_body_size": 182,
- "request_id": "f3043125bdec40385195f20db7e0491b",
- "request_uri": "/notifications/graphql",
- "response_body_size": 431,
- "response_header_content_length": 41,
- "response_header_content_type": "application/json; charset=utf-8",
- "response_http_status": "204",
- "route": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:2a3e9d21-804b-4b3b-ab7e-c6f002dadbf4",
- "service_port": "4000",
- "service_protocol": "http",
- "trace_id": "36b95ea3a6be443d11866fb5d2a8ba6b",
- "upstream_status": null,
- "upstream_uri": "/graphql"
}, - {
- "request_start": "2020-02-02T01:00:01.050Z",
- "api_product": "b866c867-60e6-4258-adb3-e136cc26388b",
- "api_product_version": "3807c200-3d10-445d-85b2-7afe07ca3932",
- "application": null,
- "auth_type": null,
- "client_ip": "131.174.120.249",
- "consumer": null,
- "control_plane": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219",
- "control_plane_group": null,
- "data_plane_node": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:a3e0692c-2351-4c8e-acbe-e7a5185147de",
- "data_plane_node_version": "3.8.0.1",
- "gateway_service": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:523468b1-2e74-4b58-b30e-6f904e99e4d0",
- "header_host": "proxy-zyq.com",
- "header_user_agent": "python-works",
- "http_method": "GET",
- "latencies_kong_gateway_ms": 2,
- "latencies_response_ms": 12,
- "latencies_upstream_ms": 10,
- "ratelimit_enabled": 1,
- "ratelimit_enabled_day": 0,
- "ratelimit_enabled_hour": 1,
- "ratelimit_enabled_minute": 0,
- "ratelimit_enabled_month": 0,
- "ratelimit_enabled_second": 1,
- "ratelimit_enabled_year": 0,
- "ratelimit_limit": 100,
- "ratelimit_limit_day": 0,
- "ratelimit_limit_hour": 30000,
- "ratelimit_limit_minute": 0,
- "ratelimit_limit_month": 0,
- "ratelimit_limit_second": 100,
- "ratelimit_limit_year": 0,
- "ratelimit_remaining": 99,
- "ratelimit_remaining_day": 0,
- "ratelimit_remaining_hour": 29981,
- "ratelimit_remaining_minute": 0,
- "ratelimit_remaining_month": 0,
- "ratelimit_remaining_second": 99,
- "ratelimit_remaining_year": 0,
- "ratelimit_reset": 0,
- "request_body_size": 258,
- "request_id": "a193bb0fefadcd3948cebc2c2c63a500",
- "request_uri": "/users",
- "response_body_size": 390,
- "response_header_content_length": 102,
- "response_header_content_type": "text/html",
- "response_http_status": "200",
- "response_source": "upstream",
- "route": "d5ac5d88-efed-4e10-9dfe-0b0a6646c219:2a3e9d21-804b-4b3b-ab7e-c6f002dadbf4",
- "service_port": "443",
- "service_protocol": "https",
- "trace_id": "77ea76d5f4e24fcae336d3ec2c9c92e3",
- "upstream_status": 200,
- "upstream_uri": "/users"
}
], - "meta": {
- "size": 15,
- "offset": 0,
- "query_id": "apilog-11AF3891-C638-43E6-A85A-4EBCCAF0E690",
- "time_range": {
- "start": "2020-02-02T00:00:00.000Z",
- "end": "2020-02-03T00:00:00.000Z"
}
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates an API.
| name required | string [ 1 .. 255 ] characters The name of your API. The |
| description | string or null A description of your API. Will be visible on your live Portal. |
| version | string or null [ 1 .. 255 ] characters An optional version for your API. Leave this empty if your API is unversioned. |
| deprecated | boolean Default: false Marks this API as deprecated. |
| slug | string or null^[\w-]+$ The Defaults to |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
object (PublicLabels) <= 50 properties Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store PUBLIC metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "myAPI"
}{- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "myAPI",
- "version": "v1",
- "labels": {
- "env": "test"
}, - "public_labels": { },
- "description": "My API",
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z",
- "slug": "my-api-v1",
- "portals": [
- {
- "id": "25a2624c-49fc-4764-99e1-224ed819f200",
- "name": "My-Portal",
- "display_name": "My Portal"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns a collection of all APIs.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (API Filter Parameters) Filters APIs in the response. | |
| sort | string (SortQuery) Example: sort=name,created_at desc Sorts a collection of APIs. Supported sort attributes are:
|
{- "data": [
- {
- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "myAPI",
- "version": "v1",
- "public_labels": {
- "group": "accounts"
}, - "labels": {
- "env": "test"
}, - "slug": "my-api-v1",
- "portals": [
- {
- "id": "25a2624c-49fc-4764-99e1-224ed819f200",
- "name": "My-Portal",
- "display_name": "My Portal"
}
], - "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Fetches an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
{- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "myAPI",
- "version": "v1",
- "labels": {
- "env": "test"
}, - "public_labels": { },
- "description": "My API",
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z",
- "slug": "my-api-v1",
- "portals": [
- {
- "id": "25a2624c-49fc-4764-99e1-224ed819f200",
- "name": "My-Portal",
- "display_name": "My Portal"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| name | string [ 1 .. 255 ] characters The name of your API. The |
| description | string or null A description of your API. Will be visible on your live Portal. |
| version | string or null [ 1 .. 255 ] characters An optional version for your API. Leave this empty if your API is unversioned. |
| deprecated | boolean Default: false Marks this API as deprecated. |
| slug | string or null^[\w-]+$ The Defaults to |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
object (PublicLabelsUpdate) <= 50 properties Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store PUBLIC metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "new API name"
}{- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "myAPI",
- "version": "v1",
- "labels": {
- "env": "test"
}, - "public_labels": { },
- "description": "My API",
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z",
- "slug": "my-api-v1",
- "portals": [
- {
- "id": "25a2624c-49fc-4764-99e1-224ed819f200",
- "name": "My-Portal",
- "display_name": "My Portal"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
{- "status": 401,
- "title": "ApiUnauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "ApiUnauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Publish a new document attached to an API.
All configuration options may be provided in the frontmatter section of content. If you set values in both the POST request and in the frontmatter, the values in the POST request will take precedence.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| content required | string (API Document Content) Raw markdown content to display in your Portal |
| title | string (API Document Title) The title of the document. Used to populate the |
| slug | string (API Document Slug) ^[\w-]+$ The Defaults to |
| status | string (ApiDocumentStatus) Default: "unpublished" Enum: "published" "unpublished" If |
| parent_document_id | string or null <uuid> (API Document Parent Document ID) API Documents may be rendered as a tree of files. Specify the |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "slug": "api-document",
- "status": "published",
- "title": "API Document",
- "content": "# API Document Header"
}{- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "parent_document_id": null,
- "title": "API Document",
- "slug": "api-document",
- "status": "published",
- "content": "# API Document Header",
- "labels": {
- "type": "tutorial"
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns a collection of all documents for an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (API Document Filter Parameters) Filters API Documents in the response. |
{- "data": [
- {
- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "title": "API Document",
- "slug": "api-document",
- "status": "published",
- "parent_document_id": null,
- "labels": {
- "env": "test"
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "children": [
- { }
]
}
], - "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns a document for the API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| documentId required | string <uuid> Example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb The document identifier related to the API |
{- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "parent_document_id": null,
- "title": "API Document",
- "slug": "api-document",
- "status": "published",
- "content": "# API Document Header",
- "labels": {
- "type": "tutorial"
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates a document for an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| documentId required | string <uuid> Example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb The document identifier related to the API |
| content | string (API Document Content) Raw markdown content to display in your Portal |
| title | string (API Document Title) The title of the document. Used to populate the |
| slug | string (API Document Slug) ^[\w-]+$ The Defaults to |
| status | string (ApiDocumentStatus) Default: "unpublished" Enum: "published" "unpublished" If |
| parent_document_id | string or null <uuid> (API Document Parent Document ID) API Documents may be rendered as a tree of files. Specify the |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "parent_document_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "slug": "api-document",
- "status": "published",
- "title": "API Document"
}{- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "parent_document_id": null,
- "title": "API Document",
- "slug": "api-document",
- "status": "published",
- "content": "# API Document Header",
- "labels": {
- "type": "tutorial"
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Removes a document from an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| documentId required | string <uuid> Example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb The document identifier related to the API |
{- "status": 401,
- "title": "ApiUnauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "ApiUnauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
This api allows the user to move a document within the document tree using the parameters parent_document_id and index. If parent_document_id is not provided, the document will be placed at the top level of the document tree. index represents a zero-indexed document order relative to its siblings under the same parent. For example, if we want to put the document at top level in first position we would send parent_document_id: null and index: 0. This api also supports using a negative index to count backwards from the end of the document list, which means you can put the document in last position by using index: -1.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| documentId required | string <uuid> Example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb The document identifier related to the API |
move document
| parent_document_id | string <uuid> parent document id |
| index | integer index of the document in the parent document's children |
{- "parent_document_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "index": 1
}{- "status": 401,
- "title": "ApiUnauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "ApiUnauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates a specification for an API. Note: You can only have one specification for an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| content required | string The raw content of your API specification. |
| type | string (API Spec Type) Enum: "oas3" "asyncapi" The type of specification being stored. This allows us to render the specification correctly. If this field is not set, it will be autodetected from |
{- "content": "{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Example API\",\"version\":\"1.0.0\"},\"paths\":{\"/example\":{\"get\":{\"summary\":\"Example endpoint\",\"responses\":{\"200\":{\"description\":\"Successful response\"}}}}}}",
- "type": "oas3"
}{- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "content": "{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Example API\",\"version\":\"1.0.0\"},\"paths\":{\"/example\":{\"get\":{\"summary\":\"Example endpoint\",\"responses\":{\"200\":{\"description\":\"Successful response\"}}}}}}",
- "type": "oas3",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns a list of specifications for an API. Note: You can only have one specification for an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (API Spec Filter Parameters) Filters API Specs in the response. |
{- "data": [
- {
- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "type": "oas3",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 1
}
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Fetches the specification of an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| specId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API specification identifier |
{- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "content": "{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Example API\",\"version\":\"1.0.0\"},\"paths\":{\"/example\":{\"get\":{\"summary\":\"Example endpoint\",\"responses\":{\"200\":{\"description\":\"Successful response\"}}}}}}",
- "type": "oas3",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Updates the specification of an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| specId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API specification identifier |
| content | string The raw content of your API specification. |
| type | string (API Spec Type) Enum: "oas3" "asyncapi" The type of specification being stored. This allows us to render the specification correctly. If this field is not set, it will be autodetected from |
{- "content": "{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Example API\",\"version\":\"1.0.1\"},\"paths\":{\"/example\":{\"get\":{\"summary\":\"Example endpoint\",\"responses\":{\"200\":{\"description\":\"Successful response\"}}}}}}"
}{- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "content": "{\"openapi\":\"3.0.3\",\"info\":{\"title\":\"Example API\",\"version\":\"1.0.0\"},\"paths\":{\"/example\":{\"get\":{\"summary\":\"Example endpoint\",\"responses\":{\"200\":{\"description\":\"Successful response\"}}}}}}",
- "type": "oas3",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Deletes the specification of an API.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| specId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API specification identifier |
{- "status": 401,
- "title": "ApiUnauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "ApiUnauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns a collection of all API Publications.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (API Publication Filter Parameters) Filters API Publications in the response. | |
| sort | string (SortQuery) Example: sort=name,created_at desc Sorts a collection of API publications. Supported sort attributes are:
|
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "api_id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "portal_id": "7710d5c4-d902-410b-992f-18b814155b53",
- "visibility": "public",
- "auth_strategy_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Publish an API to a portal.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| auto_approve_registrations | boolean (Auto Approve Registrations) Whether the application registration auto approval on this portal for the api is enabled. If set to false, fallbacks on portal's auto_approve_applications value. |
| auth_strategy_ids | Array of strings or null <uuid> (API Publication Auth Strategy IDs) = 1 items The auth strategy the API enforces for applications in the portal. Omitting this property means the portal's default application auth strategy will be used. Setting to null means the API will not require application authentication. DCR support for application registration is currently in development. |
| visibility | string (API Publication Visibility) Default: "private" Enum: "public" "private" The visibility of the API in the portal. Public API publications do not require authentication to view and retrieve information about them. Private API publications require authentication to retrieve information about them. |
{- "auto_approve_registrations": true,
- "auth_strategy_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "visibility": "public"
}{- "auto_approve_registrations": true,
- "auth_strategy_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "visibility": "public",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Retrieve an API's publication in a portal. If the API is not published to the portal, a 404 response is returned.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "auto_approve_registrations": true,
- "auth_strategy_ids": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "visibility": "public",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Unpublish an API from a portal.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "status": 401,
- "title": "ApiUnauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "ApiUnauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
List gateway implementations for this API
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (API Implementation Filter Parameters) Filters APIs in the response. | |
| sort | string (SortQuery) Example: sort=name,created_at desc Sorts a collection of API implementations. Supported sort attributes are:
|
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "api_id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "service": {
- "control_plane_id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "id": "7710d5c4-d902-410b-992f-18b814155b53"
}
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Creates an implementation for an API. An API can be implemented by a single Gateway Service.
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
required | object (API Implementation Service) A Gateway service that implements an API |
{- "service": {
- "control_plane_id": "fd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2"
}
}{- "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "service": {
- "control_plane_id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "id": "7710d5c4-d902-410b-992f-18b814155b53"
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Retrieve a gateway implementation for this API
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| implementationId required | string <uuid> Example: 032d905a-ed33-46a3-a093-d8f536af9a8a The Portal identifier |
{- "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "service": {
- "control_plane_id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "id": "7710d5c4-d902-410b-992f-18b814155b53"
}
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Unlink a gateway implementation from this API
| apiId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The UUID API identifier |
| implementationId required | string <uuid> Example: 032d905a-ed33-46a3-a093-d8f536af9a8a The Portal identifier |
{- "status": 401,
- "title": "ApiUnauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "ApiUnauthorized"
}An API Product packages together associated APIs and their operations, backed by thorough documentation, with the objective of making API consumption straightforward for developers.
| name required | string [ 1 .. 100 ] characters The name of the API product. |
| description | string or null Default: null The description of the API product. |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
object (PublicLabels) <= 50 properties Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store PUBLIC metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
| portal_ids | Array of strings <uuid> >= 0 items unique The list of portal identifiers which this API product should be published to |
{- "name": "API Product"
}{- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "API Product",
- "description": "Text describing the API product",
- "portal_ids": [ ],
- "portals": [ ],
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z",
- "version_count": 10,
- "labels": {
- "env": "test"
}, - "public_labels": {
- "label": "value"
}
}Returns a collection of API products.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (APIProductFilterParameters) Filters API Products in the response. | |
| sort | string (SortQuery) Example: sort=name,created_at desc Sorts a collection of API products. Supported sort attributes are:
|
| labels | string Example: labels=key:value,keyExists Filters requested resource by associated labels. |
| public_labels | string Example: public_labels=key:value,keyExists Filters requested resource by associated public labels. |
{- "data": [
- {
- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "API Product",
- "description": "Text describing the API product",
- "portal_ids": [ ],
- "portals": [ ],
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z",
- "version_count": 10,
- "labels": {
- "env": "test"
}, - "public_labels": {
- "label": "value"
}
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}
}Returns an API product.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a API product identifier |
{- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "API Product",
- "description": "Text describing the API product",
- "portal_ids": [ ],
- "portals": [ ],
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z",
- "version_count": 10,
- "labels": {
- "env": "test"
}, - "public_labels": {
- "label": "value"
}
}Updates an API product.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a API product identifier |
| name | string [ 1 .. 100 ] characters The name for the API product. |
| description | string or null The description of the API product. |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
object (PublicLabelsUpdate) <= 50 properties Public labels store information about an entity that can be used for filtering a list of objects. Public labels are intended to store PUBLIC metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
| portal_ids | Array of strings <uuid> >= 0 items unique The list of portal identifiers which this API product should be published to |
{- "name": "API Product with Update Name",
- "description": "Updated text describing the API product"
}{- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "API Product",
- "description": "Text describing the API product",
- "portal_ids": [ ],
- "portals": [ ],
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z",
- "version_count": 10,
- "labels": {
- "env": "test"
}, - "public_labels": {
- "label": "value"
}
}Removes an individual API product.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a API product identifier |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Publish or Unpublish multiple API Products to this developer portal.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
required | object |
{- "api_products": {
- "820772b2-0c93-4a9c-8c5e-c2ccc63b3340": {
- "publish_status": "published"
}, - "9b4f4829-d540-4a3a-aefc-839852bdb3e8": {
- "publish_status": "unpublished"
}, - "edf3d192-3591-4b03-ac0b-69bad1fcba05": null
}
}{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Creates a document for an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| parent_document_id | string or null <uuid> Default: null parent document id |
| slug required | string <= 80 characters ^[\w-]+$ document slug. must be unique accross documents belonging to an api product |
| status required | string (PublishStatus) Enum: "published" "unpublished" document publish status |
| title required | string non-empty document title |
| content | string Can be markdown string content or base64 encoded string |
| metadata | object Default: {} metadata of the document |
{- "slug": "api-product-document",
- "status": "published",
- "title": "API Product Document",
- "content": "IyBBUEkgUHJvZHVjdCBEb2N1bWVudCBIZWFkZXIKQVBJIHByb2R1Y3QgZG9jdW1lbnQgY29udGVudA=="
}{- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "parent_document_id": null,
- "title": "API Product Document",
- "slug": "api-product-document",
- "status": "published",
- "content": "# API Product Document Header",
- "ast": [
- {
- "children": [
- {
- "text": "API Product Document Header",
- "type": "text"
}
], - "level": 1,
- "type": "heading"
}, - {
- "children": [
- {
- "children": [
- {
- "text": "API product document content",
- "type": "text"
}
], - "type": "paragraph"
}
]
}
], - "metadata": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Returns a collection of all documents for an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "data": [
- {
- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "parent_document_id": null,
- "slug": "api-product-document",
- "status": "published",
- "title": "API Product Document",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}
}Returns a document for the API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| id required | string <uuid> Example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb The document identifier related to the API product |
{- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "parent_document_id": null,
- "title": "API Product Document",
- "slug": "api-product-document",
- "status": "published",
- "content": "# API Product Document Header",
- "ast": [
- {
- "children": [
- {
- "text": "API Product Document Header",
- "type": "text"
}
], - "level": 1,
- "type": "heading"
}, - {
- "children": [
- {
- "children": [
- {
- "text": "API product document content",
- "type": "text"
}
], - "type": "paragraph"
}
]
}
], - "metadata": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Updates a document for an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| id required | string <uuid> Example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb The document identifier related to the API product |
| parent_document_id | string or null <uuid> Parent document Id. If this value is explicitly set to null, the document will be put as a top level document at the bottom of the tree. |
| slug | string <= 80 characters ^[\w-]+$ document slug. must be unique accross documents belonging to an api product |
| status | string (PublishStatus) Enum: "published" "unpublished" document publish status |
| title | string non-empty document title |
| content | string Can be markdown string content or base64 encoded string |
| metadata | object |
{- "parent_document_id": "dd4e1b98-3629-4dd3-acc0-759a726ffee2",
- "slug": "api-product-document",
- "status": "published",
- "title": "API Product Document",
- "metadata": {
- "author": "Jane Doe"
}
}{- "id": "de5c9818-be5c-42e6-b514-e3d4bc30ddeb",
- "parent_document_id": null,
- "title": "API Product Document",
- "slug": "api-product-document",
- "status": "published",
- "content": "# API Product Document Header",
- "ast": [
- {
- "children": [
- {
- "text": "API Product Document Header",
- "type": "text"
}
], - "level": 1,
- "type": "heading"
}, - {
- "children": [
- {
- "children": [
- {
- "text": "API product document content",
- "type": "text"
}
], - "type": "paragraph"
}
]
}
], - "metadata": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Removes a document from an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| id required | string <uuid> Example: de5c9818-be5c-42e6-b514-e3d4bc30ddeb The document identifier related to the API product |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Creates a version of an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API Product ID |
| name required | string non-empty The version name of the API product version. |
| publish_status | string Deprecated Default: "unpublished" Enum: "unpublished" "published" The publish status of the API product version. Applies publish status to all related portal product versions. This field is deprecated: Use PortalProductVersion.publish_status instead. |
| deprecated | boolean Deprecated Default: false Indicates if the version of the API product is deprecated. Applies deprecation or removes deprecation from all related portal product versions. This field is deprecated: Use PortalProductVersion.deprecated instead. |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
(GatewayServicePayload (object or null)) or (LegacyGatewayServicePayload (object or null)) |
{- "name": "v1"
}{- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "v1",
- "gateway_service": {
- "runtime_group_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "control_plane_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "id": "09b4786a-3e48-4631-8f6b-62d1d8e1a7f3"
}, - "publish_status": "unpublished",
- "deprecated": false,
- "labels": {
- "env": "test"
}, - "portals": [
- {
- "portal_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "portal_name": "Developer Portal",
- "portal_product_version_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "publish_status": "published",
- "deprecated": false,
- "application_registration_enabled": true,
- "auto_approve_registration": false,
- "auth_strategies": [
- {
- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "Key Auth"
}
]
}
], - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Returns a collection of all versions for an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API Product ID |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (APIProductVersionFilterParameters) Filters API Product Versions in the response. | |
| sort | string (SortQuery) Example: sort=name,created_at desc Sorts a collection of API products versions. Supported sort attributes are:
|
{- "data": [
- {
- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "v1",
- "gateway_service": {
- "runtime_group_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "control_plane_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "id": "09b4786a-3e48-4631-8f6b-62d1d8e1a7f3"
}, - "publish_status": "unpublished",
- "deprecated": false,
- "labels": {
- "env": "test"
}, - "portals": [
- {
- "portal_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "portal_name": "Developer Portal",
- "portal_product_version_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "publish_status": "published",
- "deprecated": false,
- "application_registration_enabled": true,
- "auto_approve_registration": false,
- "auth_strategies": [
- {
- "id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "name": "OIDC"
}
]
}
], - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}
}Returns a version of an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| id required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
{- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "v1",
- "gateway_service": {
- "runtime_group_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "control_plane_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "id": "09b4786a-3e48-4631-8f6b-62d1d8e1a7f3"
}, - "publish_status": "unpublished",
- "deprecated": false,
- "labels": {
- "env": "test"
}, - "portals": [
- {
- "portal_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "portal_name": "Developer Portal",
- "portal_product_version_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "publish_status": "published",
- "deprecated": false,
- "application_registration_enabled": true,
- "auto_approve_registration": false,
- "auth_strategies": [
- {
- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "Key Auth"
}
]
}
], - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Updates an API product version.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| id required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
| name | string non-empty The version name of the API product version. |
| publish_status | string Deprecated Enum: "unpublished" "published" The publish status of the API product version. Applies publish status to all related portal product versions. This field is deprecated: Use PortalProductVersion.publish_status instead. |
| deprecated | boolean Deprecated Indicates if the version of the API product is deprecated. Applies deprecation or removes deprecation from all related portal product versions. This field is deprecated: Use PortalProductVersion.deprecated instead. |
| notify | boolean When set to
then consumers of the now deprecated verion of the API product will be notified. |
(GatewayServicePayload (object or null)) or (LegacyGatewayServicePayload (object or null)) | |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "gateway_service": {
- "control_plane_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "id": "09b4786a-3e48-4631-8f6b-62d1d8e1a7f3"
}
}{- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "v1",
- "gateway_service": {
- "runtime_group_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "control_plane_id": "e4d9ebb1-26b4-426a-b00e-cb67044f3baf",
- "id": "09b4786a-3e48-4631-8f6b-62d1d8e1a7f3"
}, - "publish_status": "unpublished",
- "deprecated": false,
- "labels": {
- "env": "test"
}, - "portals": [
- {
- "portal_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "portal_name": "Developer Portal",
- "portal_product_version_id": "35a2624c-49fc-4764-99e1-224ed819f200",
- "publish_status": "published",
- "deprecated": false,
- "application_registration_enabled": true,
- "auto_approve_registration": false,
- "auth_strategies": [
- {
- "id": "9f5061ce-78f6-4452-9108-ad7c02821fd5",
- "name": "Key Auth"
}
]
}
], - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Removes an API product version.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| id required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Creates a specification for a version of an API product. Note: You can only have one specification for a product version.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| apiProductVersionId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
| name required | string [ 1 .. 255 ] characters ^.+(?:\.yaml|\.yml|\.json)$ The name of the API product version specification |
| content required | string <byte> non-empty The base64 encoded contents of the API product version specification |
{- "name": "oas.yaml",
- "content": "TXkgWUFNTCBvciBKU09OIGZvcm1hdHRlZCBPQVMgY29udGVudA=="
}{- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "name": "oas.yaml",
- "content": "My YAML or JSON formatted OAS content",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Returns a list of specification for the version of an API product. Note: You can only have one specification for a product version.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| apiProductVersionId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
{- "data": [
- {
- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "name": "oas.yaml",
- "content": "My YAML or JSON formatted OAS content",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 1
}
}
}Returns a specification for the version of an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| apiProductVersionId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
| specificationId required | string <uuid> Example: 742ff9f1-fb89-4aeb-a599-f0e278c7aeaa The API product version specification identifier |
{- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "name": "oas.yaml",
- "content": "My YAML or JSON formatted OAS content",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Updates a specification from an API product version.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| apiProductVersionId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
| specificationId required | string <uuid> Example: 742ff9f1-fb89-4aeb-a599-f0e278c7aeaa The API product version specification identifier |
| name | string [ 1 .. 255 ] characters ^.+(?:\.yaml|\.yml|\.json)$ The name of the API product version specification |
| content | string <byte> non-empty The base64 encoded contents of the API product version specification |
{- "content": "TXkgWUFNTCBvciBKU09OIGZvcm1hdHRlZCBPQVMgY29udGVudA=="
}{- "id": "7710d5c4-d902-410b-992f-18b814155b53",
- "name": "oas.yaml",
- "content": "My YAML or JSON formatted OAS content",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Removes a specification from a verion of an API product.
| apiProductId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The API product identifier |
| apiProductVersionId required | string <uuid> Example: 9f5061ce-78f6-4452-9108-ad7c02821fd5 The API product version identifier |
| specificationId required | string <uuid> Example: 742ff9f1-fb89-4aeb-a599-f0e278c7aeaa The API product version specification identifier |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Dynamic Client Registration Providers are configurations representing an external Identity Provider whose clients (i.e. Applications) Konnect will be authorized to manage. For instance, they will be able to perform dynamic client registration (DCR) with the provider. The DCR provider provides credentials to each DCR-enabled application in Konnect that can be used to access Product Versions that the app is registered for.
Creates a DCR provider.
| provider_type required | string |
required | object (DcrConfigAuth0InRequest) Payload to create an Auth0 DCR provider. |
| name required | string (DcrProviderName) [ 1 .. 256 ] characters The name of the DCR provider. This is used to identify the DCR provider in the Konnect UI. |
| display_name | string (DcrProviderDisplayName) [ 1 .. 256 ] characters The display name of the DCR provider. This is used to identify the DCR provider in the Portal UI. |
| issuer required | string <url> <= 256 characters |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "DCR Okta 1 - Segment A",
- "provider_type": "okta",
- "dcr_config": {
- "dcr_token": "abc123xyz098!"
}
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR Okta 1 - Segment A",
- "provider_type": "okta",
- "active": true,
- "dcr_config": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Returns a paginated collection of DCR providers.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of DCR Providers. Supported sort attributes are:
|
| filter[id][eq] | string filters DCR Providers by their id |
| filter[id] | string filters DCR Providers by their id (alias for filter[id][eq]) |
| filter[id][contains] | string filters DCR Providers by their id with a supplied substring |
| filter[issuer][eq] | string filters DCR Providers by their issuer |
| filter[issuer] | string filters DCR Providers by their issuer (alias for filter[issuer][eq]) |
| filter[issuer][contains] | string filters DCR Providers by their issuer with a supplied substring |
| filter[name][eq] | string filters DCR Providers by their name |
| filter[name] | string filters DCR Providers by their name (alias for filter[name][eq]) |
| filter[name][contains] | string filters DCR Providers by their name with a supplied substring |
| filter[provider_type][eq] | string filters DCR Providers by their provider type |
| filter[provider_type] | string filters DCR Providers by their provider type (alias for filter[provider_type][eq]) |
| filter[initial_client_id][eq] | string filters DCR Providers by their initial client id |
| filter[initial_client_id] | string filters DCR Providers by their initial client id (alias for filter[initial_client_id][eq]) |
| filter[initial_client_id][contains] | string filters DCR Providers by their initial client id with a supplied substring |
| filter[initial_client_audience][eq] | string filters DCR Providers by their initial client audience |
| filter[initial_client_audience] | string filters DCR Providers by their initial client audience (alias for filter[initial_client_audience][eq]) |
| filter[initial_client_audience][contains] | string filters DCR Providers by their initial client audience with a supplied substring |
{- "data": [
- {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR Okta 1 - Segment A",
- "provider_type": "okta",
- "active": true,
- "dcr_config": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}, - {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR Okta 1 - Segment B",
- "display_name": "Client Credentials",
- "provider_type": "okta",
- "active": true,
- "dcr_config": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}, - {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d290",
- "name": "DCR HTTP 1 - Segment A",
- "display_name": "Client Credentials",
- "provider_type": "http",
- "active": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 2,
- "total": 10
}
}
}Returns a DCR provider.
| dcrProviderId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 DCR provider identifier |
{- "id": "93f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR Auth0 1 - Segment A",
- "display_name": "Auth0 DCR provider",
- "provider_type": "auth0",
- "active": true,
- "dcr_config": {
- "initial_client_id": "abc123",
- "use_developer_managed_scopes": false
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Updates a DCR provider.
| dcrProviderId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 DCR provider identifier |
| name | string (DcrProviderName) [ 1 .. 256 ] characters The name of the DCR provider. This is used to identify the DCR provider in the Konnect UI. |
| display_name | string (DcrProviderDisplayName) [ 1 .. 256 ] characters The display name of the DCR provider. This is used to identify the DCR provider in the Portal UI. |
| issuer | string <url> <= 256 characters |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
DcrConfigAuth0InRequest (object) or DcrConfigAzureAdInRequest (object) or DcrConfigCurityInRequest (object) or DcrConfigOktaInRequest (object) or CreateDcrConfigHttpInRequest (object) |
{- "name": "DCR Okta 1 - Segment A",
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR Auth0 1 - Segment A",
- "display_name": "Auth0 DCR provider",
- "provider_type": "auth0",
- "active": true,
- "dcr_config": {
- "initial_client_id": "abc123",
- "use_developer_managed_scopes": false
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Deletes a DCR provider.
| dcrProviderId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 DCR provider identifier |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Verifies if a DCR provider is configured properly. Returns 200 for success, 4xx for failure.
| dcrProviderId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 DCR provider identifier |
{- "status": "success",
- "errors": [ ]
}Application Auth Strategies are sets of plugin configurations that represent how the gateway will perform authentication and authorization for a Product Version. Called “Auth Strategy” for short in the context of portals/applications. The plugins are synced to any Gateway Service that is currently linked or becomes linked to the Product Version.
Creates an application auth strategy.
| name required | string (AuthStrategyName) [ 1 .. 256 ] characters The name of the auth strategy. This is used to identify the auth strategy in the Konnect UI. |
| display_name required | string (AuthStrategyDisplayName) <= 256 characters The display name of the Auth strategy. This is used to identify the Auth strategy in the Portal UI. |
| strategy_type required | string |
required | object JSON-B object containing the configuration for the Key Auth strategy |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "auth strategy 1",
- "display_name": "API Key Auth",
- "strategy_type": "key_auth",
- "configs": {
- "key-auth": {
- "key_names": [
- "apikey",
- "api-key",
- "x-api-key"
]
}
}
}{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "auth strategy 1",
- "display_name": "Client Credentials",
- "strategy_type": "openid_connect",
- "active": false,
- "configs": {
- "openid-connect": {
- "auth_methods": [
- "client_credentials"
], - "credential_claim": [
- "client_id"
], - "scopes": [
- "openid",
- "email"
]
}
}, - "dcr_provider": {
- "id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR provider 1",
- "display_name": "Credentials",
- "provider_type": "http"
}, - "labels": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Returns a paginated collection of application auth strategies.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of application auth strategies. Supported sort attributes are:
|
object Filter application auth strategies returned in the response. |
{- "data": [
- {
- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "auth strategy 1",
- "display_name": "Client Credentials",
- "strategy_type": "openid_connect",
- "active": false,
- "configs": {
- "openid-connect": {
- "auth_methods": [
- "client_credentials"
], - "credential_claim": [
- "client_id"
], - "scopes": [
- "openid",
- "email"
]
}
}, - "dcr_provider": {
- "id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR provider 1",
- "display_name": "Credentials",
- "provider_type": "http"
}, - "labels": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}
}Returns an application auth strategy.
| authStrategyId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 Application auth strategy identifier |
{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "auth strategy 1",
- "display_name": "Client Credentials",
- "strategy_type": "openid_connect",
- "active": false,
- "configs": {
- "openid-connect": {
- "auth_methods": [
- "client_credentials"
], - "credential_claim": [
- "client_id"
], - "scopes": [
- "openid",
- "email"
]
}
}, - "dcr_provider": {
- "id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR provider 1",
- "display_name": "Credentials",
- "provider_type": "http"
}, - "labels": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Replaces an application auth strategy.
| authStrategyId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 Application auth strategy identifier |
| name required | string (AuthStrategyName) [ 1 .. 256 ] characters The name of the auth strategy. This is used to identify the auth strategy in the Konnect UI. |
| display_name required | string (AuthStrategyDisplayName) <= 256 characters The display name of the Auth strategy. This is used to identify the Auth strategy in the Portal UI. |
| strategy_type required | string |
required | object JSON-B object containing the configuration for the Key Auth strategy |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "auth strategy 1",
- "display_name": "API Key Auth",
- "strategy_type": "key_auth",
- "configs": {
- "key-auth": {
- "key_names": [
- "apikey",
- "api-key",
- "x-api-key"
]
}
}
}{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "auth strategy 1",
- "display_name": "Client Credentials",
- "strategy_type": "openid_connect",
- "active": false,
- "configs": {
- "openid-connect": {
- "auth_methods": [
- "client_credentials"
], - "credential_claim": [
- "client_id"
], - "scopes": [
- "openid",
- "email"
]
}
}, - "dcr_provider": {
- "id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR provider 1",
- "display_name": "Credentials",
- "provider_type": "http"
}, - "labels": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Updates an application auth strategy.
| authStrategyId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 Application auth strategy identifier |
| name | string (AuthStrategyName) [ 1 .. 256 ] characters The name of the auth strategy. This is used to identify the auth strategy in the Konnect UI. |
| display_name | string (AuthStrategyDisplayName) <= 256 characters The display name of the Auth strategy. This is used to identify the Auth strategy in the Portal UI. |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". | |
| dcr_provider_id | string or null <uuid> |
object or object JSON-B object containing the configuration for the OIDC strategy under the key 'openid-connect' or the configuration for the Key Auth strategy under the key 'key-auth' |
{- "display_name": "API Key"
}{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "auth strategy 1",
- "display_name": "Client Credentials",
- "strategy_type": "openid_connect",
- "active": false,
- "configs": {
- "openid-connect": {
- "auth_methods": [
- "client_credentials"
], - "credential_claim": [
- "client_id"
], - "scopes": [
- "openid",
- "email"
]
}
}, - "dcr_provider": {
- "id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "DCR provider 1",
- "display_name": "Credentials",
- "provider_type": "http"
}, - "labels": { },
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Deletes an application auth strategy. An application auth strategy can be deleted ONLY if it's not used by any product version within any portal regardless of their publication statuses. If an application auth strategy is still in use the request will result in an HTTP 409 CONFLICT.
| authStrategyId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 Application auth strategy identifier |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Returns configuration for the audit log destinations.
| 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. |
object Filter destinations returned in the response. |
{- "data": [
- {
- "id": "07ec3858-066b-4629-bdc5-d4aa893b424d",
- "name": "Destination-1",
- "log_format": "cef",
- "skip_ssl_verification": false,
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}, - {
- "id": "e4374fdc-1f15-4da9-b2e8-7f13d822efe8",
- "name": "Destination-2",
- "log_format": "json",
- "skip_ssl_verification": false,
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}
], - "meta": {
- "next": "/api/v2/audit-log-destinations?page%5Bafter%5D=f11CXlAMGEVFB0AEQw19QhNYMV5CCkFYSltZUFgPSBJHFwwWFg%3D%3D&page%5Bsize%5=1",
- "previous": "/api/v2/audit-log-destinations?page%5Bbefore%5D=dl8UWVYPEUZFA0sHQw19EUVYMV5BDhcISl1WWVgNQRBBS1gSFw%3D%3D&page%5Bsize%5D=1",
- "size": 10
}
}Creates a configuration for the audit log destination.
The request schema to create an audit log destination.
| name required | string The name of the audit log destination. |
| endpoint required | string The endpoint that will receive audit log messages. |
| authorization | string The value to include in the |
| log_format required | string Default: "cef" Enum: "cef" "json" The output format of each log message. |
| skip_ssl_verification | boolean Default: false Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment. |
{- "id": "07ec3858-066b-4629-bdc5-d4aa893b424d",
- "name": "My Destination",
- "authorization": "Bearer token",
- "log_format": "cef",
- "skip_ssl_verification": false
}{- "id": "07ec3858-066b-4629-bdc5-d4aa893b424d",
- "name": "My Destination",
- "log_format": "cef",
- "skip_ssl_verification": false,
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}Returns configuration for the audit log destination.
| auditLogDestinationId required | string <uuid> ID of the Audit Log Destination. |
{- "id": "07ec3858-066b-4629-bdc5-d4aa893b424d",
- "name": "My Destination",
- "log_format": "cef",
- "skip_ssl_verification": false,
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}Updates configuration for the audit log destination.
| auditLogDestinationId required | string <uuid> ID of the Audit Log Destination. |
The request schema to modify an audit log destination.
| name | string The name of the audit log destination. |
| endpoint | string The endpoint that will receive audit log messages. |
| authorization | string The value to include in the |
| log_format | string Default: "cef" Enum: "cef" "json" The output format of each log message. |
| skip_ssl_verification | boolean Default: false Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment. |
{- "log_format": "json",
- "skip_ssl_verification": false
}{- "id": "07ec3858-066b-4629-bdc5-d4aa893b424d",
- "name": "My Destination",
- "log_format": "cef",
- "skip_ssl_verification": false,
- "created_at": "2023-03-20T09:29:14.52Z",
- "updated_at": "2023-03-21T09:29:14.52Z"
}Deletes configuration for the audit log destination.
| auditLogDestinationId required | string <uuid> ID of the Audit Log Destination. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Updates a job to re-send audit logs to an organization's webhook.
The request schema to replace an audit log replay job.
| start_at required | string <date-time> The start of a date-time range in RFC3339 format e.g. 2017-07-21T17:32:28Z. Must be within the last 7 days. |
| end_at required | string <date-time> The end of a date-time range in RFC3339 format e.g. 2017-07-21T17:32:28Z. Must be within the last 7 days. |
{- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}{- "start_at": "2017-07-21T17:32:28Z",
- "end_at": "2017-07-21T17:32:28Z",
- "status": "unconfigured",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns the audit log replay job's configuration and status.
{- "start_at": "2017-07-21T17:32:28Z",
- "end_at": "2017-07-21T17:32:28Z",
- "status": "unconfigured",
- "updated_at": "2019-08-24T14:15:22Z"
}Updates the configuration for a webhook to receive audit logs.
The request schema to modify an audit log webhook.
| endpoint | string The endpoint that will receive audit log messages. |
| authorization | string The value to include in the |
| enabled | boolean Default: false Indicates if the data should be sent to the webhook. |
| log_format | string Default: "cef" Enum: "cef" "json" The output format of each log message. |
| skip_ssl_verification | boolean Default: false Indicates if the SSL certificate verification of the host endpoint should be skipped when delivering payloads. We strongly recommend not setting this to 'true' as you are subject to man-in-the-middle and other attacks. This option should be considered only for self-signed SSL certificates used in a non-production environment. |
{- "enabled": false
}{- "enabled": true,
- "log_format": "cef",
- "skip_ssl_verification": false,
- "updated_at": "2023-03-21T09:29:14.52Z"
}Returns configuration for the audit log webhook.
{- "enabled": true,
- "log_format": "cef",
- "skip_ssl_verification": false,
- "updated_at": "2023-03-21T09:29:14.52Z"
}Returns the public keys used to sign audit log entries in order to verify the validity of audit log entries.
{- "keys": [
- {
- "kty": "OKP",
- "alg": "EdDSA",
- "kid": "3f60bc4376c937154f3c004ebd180433ac0d03e6",
- "crv": "Ed25519",
- "x": "XWxGtApfcqmKI7p0OKnF5JSEWMVoLsytFXLEP7xZ_l8"
}
]
}Returns status of the audit log webhook.
{- "webhook_enabled": true,
- "webhook_status": "inactive",
- "last_attempt_at": "2023-03-21T09:29:14.52Z",
- "last_response_code": 401,
- "last_response_message": "Unauthorized"
}Returns a paginated collection of configurations across control-planes for an organization (restricted by permitted control-plane reads).
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (ConfigurationsFilterParameters) Filters supported for configurations. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "edaf40f9-9fb0-4ffe-bb74-4e763a6bd471",
- "version": "3.2",
- "api_access": "private",
- "dataplane_group_config": [
- {
- "provider": "aws",
- "region": "us-east-2",
- "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
]
}
], - "dataplane_groups": [
- {
- "id": "cbb8872a-1f83-4806-bf69-fdf0b4783c7e",
- "provider": "aws",
- "region": "us-east-2",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
], - "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "state": "created",
- "private_ip_addresses": [
- "192.168.248.132",
- "192.168.66.81",
- "192.168.137.135"
], - "egress_ip_addresses": [
- "71.78.149.75",
- "91.149.112.244",
- "51.235.15.121"
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
], - "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us"
}
]
}Creates a new configuration for a control-plane (restricted by permitted control-plane permissions for configurations). This request will replace any existing configuration for the requested control_plane_id and control_plane_geo by performing a diff. From this diff, new resources detected in the requested configuration will be added, resources not found in the request configuration but in the previous will be deleted, and resources found in both will be updated to the requested configuration. Networks referenced in this request that are in an offline state will automatically initialize (i.e. move to an initializing state).
| control_plane_id required | string <uuid> (ControlPlaneId) |
| control_plane_geo required | string (Control-Plane Geo) Enum: "us" "eu" "au" "me" "in" Set of control-plane geos supported for deploying cloud-gateways configurations. |
| version required | string (Gateway Version) Supported gateway version. |
required | Array of objects (CreateConfigurationDataPlaneGroup) List of data-plane groups that describe where to deploy instances, along with how many instances. |
| api_access | string (ApiAccess) Default: "private+public" Enum: "private" "public" "private+public" Type of API access data-plane groups will support for a configuration. |
{- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us",
- "version": "3.2",
- "dataplane_groups": [
- {
- "provider": "aws",
- "region": "us-east-2",
- "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
]
}
], - "api_access": "private"
}{- "id": "edaf40f9-9fb0-4ffe-bb74-4e763a6bd471",
- "version": "3.2",
- "api_access": "private",
- "dataplane_group_config": [
- {
- "provider": "aws",
- "region": "us-east-2",
- "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
]
}
], - "dataplane_groups": [
- {
- "id": "cbb8872a-1f83-4806-bf69-fdf0b4783c7e",
- "provider": "aws",
- "region": "us-east-2",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
], - "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "state": "created",
- "private_ip_addresses": [
- "192.168.248.132",
- "192.168.66.81",
- "192.168.137.135"
], - "egress_ip_addresses": [
- "71.78.149.75",
- "91.149.112.244",
- "51.235.15.121"
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
], - "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us"
}Retrieves a configuration by ID (restricted by permitted control-plane read).
| configurationId required | string <uuid> (ConfigurationId) Example: edaf40f9-9fb0-4ffe-bb74-4e763a6bd471 The ID of the configuration to operate on. |
{- "id": "edaf40f9-9fb0-4ffe-bb74-4e763a6bd471",
- "version": "3.2",
- "api_access": "private",
- "dataplane_group_config": [
- {
- "provider": "aws",
- "region": "us-east-2",
- "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
]
}
], - "dataplane_groups": [
- {
- "id": "cbb8872a-1f83-4806-bf69-fdf0b4783c7e",
- "provider": "aws",
- "region": "us-east-2",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
], - "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "state": "created",
- "private_ip_addresses": [
- "192.168.248.132",
- "192.168.66.81",
- "192.168.137.135"
], - "egress_ip_addresses": [
- "71.78.149.75",
- "91.149.112.244",
- "51.235.15.121"
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
], - "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us"
}Returns a paginated list of networks.
object (NetworksFilterParameters) Filters supported for networks. | |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "name": "us-east-2 network",
- "default": false,
- "cloud_gateway_provider_account_id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
- "region": "us-east-2",
- "availability_zones": [
- "use2-az1",
- "use2-az2",
- "use2-az3"
], - "cidr_block": "10.0.0.0/8",
- "state": "created",
- "provider_metadata": {
- "vpc_id": "string",
- "subnet_ids": [
- "string"
]
}, - "transit_gateway_count": 0,
- "configuration_reference_count": 0,
- "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Creates a new network for a given provider account.
| name required | string (Network Name) Human-readable name of the network. |
| cloud_gateway_provider_account_id required | string <uuid> (ProviderAccountId) |
| region required | string (Provider Region ID) Region ID for cloud provider region. |
| availability_zones required | Array of strings (NetworkAvailabilityZones) List of availability zones that the network is attached to. |
| cidr_block required | string (Network CIDR Block) CIDR block configuration for the network. |
| state | string (Network Create State) Default: "initializing" Enum: "initializing" "offline" Initial state for creating a network. |
{- "name": "us-east-2 network",
- "cloud_gateway_provider_account_id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
- "region": "us-east-2",
- "availability_zones": [
- "use2-az1",
- "use2-az2",
- "use2-az3"
], - "cidr_block": "10.0.0.0/8",
- "state": "initializing"
}{- "id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "name": "us-east-2 network",
- "default": false,
- "cloud_gateway_provider_account_id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
- "region": "us-east-2",
- "availability_zones": [
- "use2-az1",
- "use2-az2",
- "use2-az3"
], - "cidr_block": "10.0.0.0/8",
- "state": "created",
- "provider_metadata": {
- "vpc_id": "string",
- "subnet_ids": [
- "string"
]
}, - "transit_gateway_count": 0,
- "configuration_reference_count": 0,
- "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Retrieves a network by ID.
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
{- "id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "name": "us-east-2 network",
- "default": false,
- "cloud_gateway_provider_account_id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
- "region": "us-east-2",
- "availability_zones": [
- "use2-az1",
- "use2-az2",
- "use2-az3"
], - "cidr_block": "10.0.0.0/8",
- "state": "created",
- "provider_metadata": {
- "vpc_id": "string",
- "subnet_ids": [
- "string"
]
}, - "transit_gateway_count": 0,
- "configuration_reference_count": 0,
- "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Updates a network by ID.
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
| name | string (Network Name) Human-readable name of the network. |
{- "name": "us-east-2 network"
}{- "id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "name": "us-east-2 network",
- "default": false,
- "cloud_gateway_provider_account_id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
- "region": "us-east-2",
- "availability_zones": [
- "use2-az1",
- "use2-az2",
- "use2-az3"
], - "cidr_block": "10.0.0.0/8",
- "state": "created",
- "provider_metadata": {
- "vpc_id": "string",
- "subnet_ids": [
- "string"
]
}, - "transit_gateway_count": 0,
- "configuration_reference_count": 0,
- "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Deletes a network by ID.
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
{- "status": 400,
- "title": "Invalid Request",
- "instance": "konnect:trace:2822394689570210664",
- "detail": "Invalid Parameters",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "max_length",
- "reason": "name must be shorter than or equal to 120 characters",
- "maximum": 120
}
]
}List Network Configuration References
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "edaf40f9-9fb0-4ffe-bb74-4e763a6bd471",
- "version": "3.2",
- "api_access": "private",
- "dataplane_group_config": [
- {
- "provider": "aws",
- "region": "us-east-2",
- "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
]
}
], - "dataplane_groups": [
- {
- "id": "cbb8872a-1f83-4806-bf69-fdf0b4783c7e",
- "provider": "aws",
- "region": "us-east-2",
- "autoscale": {
- "kind": "static",
- "instance_type": "small",
- "requested_instances": 3
}, - "environment": [
- {
- "name": "KONG_LOG_LEVEL",
- "value": "INFO"
}
], - "cloud_gateway_network_id": "36ae63d3-efd1-4bec-b246-62aa5d3f5695",
- "state": "created",
- "private_ip_addresses": [
- "192.168.248.132",
- "192.168.66.81",
- "192.168.137.135"
], - "egress_ip_addresses": [
- "71.78.149.75",
- "91.149.112.244",
- "51.235.15.121"
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
], - "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us"
}
]
}Returns a paginated collection of transit gateways for a given network.
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
object (TransitGatewaysFilterParameters) Filters supported for transit gateways. | |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "name": "us-east-2 transit gateway",
- "dns_config": [
- {
- "remote_dns_server_ip_addresses": [
- "10.0.0.2"
], - "domain_proxy_list": [
- "foobar.com"
]
}
], - "cidr_blocks": [
- "10.0.0.0/8",
- "100.64.0.0/10",
- "172.16.0.0/12"
], - "transit_gateway_attachment_config": {
- "kind": "aws-transit-gateway-attachment",
- "transit_gateway_id": "string",
- "ram_share_arn": "string"
}, - "id": "0850820b-d153-4a2a-b9be-7d2204779139",
- "state": "created",
- "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Creates a new transit gateway for a given network.
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
| name required | string (Transit Gateway Name) Human-readable name of the transit gateway. |
Array of objects (Transit Gateway DNS Config) List of mappings from remote DNS server IP address sets to proxied internal domains, for a transit gateway attachment. | |
| cidr_blocks required | Array of strings (Transit Gateway CIDR Blocks) CIDR blocks for constructing a route table for the transit gateway, when attaching to the owning network. |
required | object (AWS Transit Gateway Attachment Config) |
{- "name": "us-east-2 transit gateway",
- "dns_config": [
- {
- "remote_dns_server_ip_addresses": [
- "10.0.0.2"
], - "domain_proxy_list": [
- "foobar.com"
]
}
], - "cidr_blocks": [
- "10.0.0.0/8",
- "100.64.0.0/10",
- "172.16.0.0/12"
], - "transit_gateway_attachment_config": {
- "kind": "aws-transit-gateway-attachment",
- "transit_gateway_id": "string",
- "ram_share_arn": "string"
}
}{- "name": "us-east-2 transit gateway",
- "dns_config": [
- {
- "remote_dns_server_ip_addresses": [
- "10.0.0.2"
], - "domain_proxy_list": [
- "foobar.com"
]
}
], - "cidr_blocks": [
- "10.0.0.0/8",
- "100.64.0.0/10",
- "172.16.0.0/12"
], - "transit_gateway_attachment_config": {
- "kind": "aws-transit-gateway-attachment",
- "transit_gateway_id": "string",
- "ram_share_arn": "string"
}, - "id": "0850820b-d153-4a2a-b9be-7d2204779139",
- "state": "created",
- "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Retrieves a transit gateway by ID for a given network.
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
| transitGatewayId required | string <uuid> (TransitGatewayId) Example: 0850820b-d153-4a2a-b9be-7d2204779139 The ID of the transit gateway to operate on. |
{- "name": "us-east-2 transit gateway",
- "dns_config": [
- {
- "remote_dns_server_ip_addresses": [
- "10.0.0.2"
], - "domain_proxy_list": [
- "foobar.com"
]
}
], - "cidr_blocks": [
- "10.0.0.0/8",
- "100.64.0.0/10",
- "172.16.0.0/12"
], - "transit_gateway_attachment_config": {
- "kind": "aws-transit-gateway-attachment",
- "transit_gateway_id": "string",
- "ram_share_arn": "string"
}, - "id": "0850820b-d153-4a2a-b9be-7d2204779139",
- "state": "created",
- "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Deletes a transit gateway by ID for a given network.
| networkId required | string <uuid> (NetworkId) Example: 36ae63d3-efd1-4bec-b246-62aa5d3f5695 The network to operate on. |
| transitGatewayId required | string <uuid> (TransitGatewayId) Example: 0850820b-d153-4a2a-b9be-7d2204779139 The ID of the transit gateway to operate on. |
{- "status": 400,
- "title": "Invalid Request",
- "instance": "konnect:trace:2822394689570210664",
- "detail": "Invalid Parameters",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "max_length",
- "reason": "name must be shorter than or equal to 120 characters",
- "maximum": 120
}
]
}Returns a a paginated collection of provider accounts for an organization.
object (ProviderAccountsFilterParameters) Filters supported for provider accounts. | |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
- "provider": "aws",
- "provider_account_id": "string",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Retrieves a provider account by ID.
| providerAccountId required | string <uuid> (ProviderAccountId) Example: 929b2449-c69f-44c4-b6ad-9ecec6f811ae The ID of the provider account to operate on. |
{- "id": "929b2449-c69f-44c4-b6ad-9ecec6f811ae",
- "provider": "aws",
- "provider_account_id": "string",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Returns a paginated collection of custom domains across control-planes for an organization (restricted by permitted control-plane reads).
object (CustomDomainsFilterParameters) Filters supported for custom domains on the global API. | |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "39ed3790-085d-4605-9627-f96d86aaf425",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us",
- "domain": "example.com",
- "certificate_id": "3b7cbeee-fbec-440e-a5ef-89e7dec3b9d0",
- "sni_id": "a8f11ea8-af09-4422-9735-5d4f8910aba1",
- "state": "created",
- "state_metadata": {
- "reported_status": "INVALID",
- "reason": "CNAME points to '_acme-challenge.<prefix>.gateways.konghq.tech.' instead of '_acme-challenge.<prefix>.acme.gateways.konghq.tech.'\n"
}, - "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Creates a new custom domain for a control-plane (restricted by permitted control-plane associate-custom-domain action).
| control_plane_id required | string <uuid> (ControlPlaneId) |
| control_plane_geo required | string (Control-Plane Geo) Enum: "us" "eu" "au" "me" "in" Set of control-plane geos supported for deploying cloud-gateways configurations. |
| domain required | string (Custom Domain Name) Domain name of the custom domain. |
{- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us",
- "domain": "example.com"
}{- "id": "39ed3790-085d-4605-9627-f96d86aaf425",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us",
- "domain": "example.com",
- "certificate_id": "3b7cbeee-fbec-440e-a5ef-89e7dec3b9d0",
- "sni_id": "a8f11ea8-af09-4422-9735-5d4f8910aba1",
- "state": "created",
- "state_metadata": {
- "reported_status": "INVALID",
- "reason": "CNAME points to '_acme-challenge.<prefix>.gateways.konghq.tech.' instead of '_acme-challenge.<prefix>.acme.gateways.konghq.tech.'\n"
}, - "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Retrieves a custom domain by ID (restricted by permitted control-plane reads).
| customDomainId required | string <uuid> (CustomDomainId) Example: 39ed3790-085d-4605-9627-f96d86aaf425 ID of the custom domain to operate on. |
{- "id": "39ed3790-085d-4605-9627-f96d86aaf425",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us",
- "domain": "example.com",
- "certificate_id": "3b7cbeee-fbec-440e-a5ef-89e7dec3b9d0",
- "sni_id": "a8f11ea8-af09-4422-9735-5d4f8910aba1",
- "state": "created",
- "state_metadata": {
- "reported_status": "INVALID",
- "reason": "CNAME points to '_acme-challenge.<prefix>.gateways.konghq.tech.' instead of '_acme-challenge.<prefix>.acme.gateways.konghq.tech.'\n"
}, - "entity_version": 1,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Deletes a custom domain by ID (restricted by permitted control-plane reads).
| customDomainId required | string <uuid> (CustomDomainId) Example: 39ed3790-085d-4605-9627-f96d86aaf425 ID of the custom domain to operate on. |
{- "status": 400,
- "title": "Invalid Request",
- "instance": "konnect:trace:2822394689570210664",
- "detail": "Invalid Parameters",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "max_length",
- "reason": "name must be shorter than or equal to 120 characters",
- "maximum": 120
}
]
}Retrieves the CNAME and SSL status of a custom domain.
| customDomainId required | string <uuid> (CustomDomainId) Example: 39ed3790-085d-4605-9627-f96d86aaf425 ID of the custom domain to operate on. |
{- "cname": "verified",
- "ssl": "verified"
}Returns a paginated collection of default resource quotas for cloud-gateways, along with organizationally-defined overrides for those resource quotas.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "cc504063-f3bb-4e09-8e32-bbcdbc5cd618",
- "resource": "count/provider-accounts.per-provider",
- "name": "Active Networks",
- "description": "Across the organization, the aggregate number of active networks cannot exceed this value.",
- "value": 2,
- "overrides": [
- {
- "id": "9678f205-49a1-47bb-82d9-d01cafa42a0d",
- "resource": "count/provider-accounts.per-provider",
- "name": "Active Networks",
- "description": "Across the organization, the aggregate number of active networks cannot exceed this value.",
- "value": 2,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Returns a paginated collection of resource quotas for an organization.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "9678f205-49a1-47bb-82d9-d01cafa42a0d",
- "resource": "count/provider-accounts.per-provider",
- "name": "Active Networks",
- "description": "Across the organization, the aggregate number of active networks cannot exceed this value.",
- "value": 2,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Retrieves a resource quota by ID.
| resourceQuotaId required | string <uuid> (ResourceQuotaId) Example: 9678f205-49a1-47bb-82d9-d01cafa42a0d The ID of the resource quota to operate on. |
{- "id": "9678f205-49a1-47bb-82d9-d01cafa42a0d",
- "resource": "count/provider-accounts.per-provider",
- "name": "Active Networks",
- "description": "Across the organization, the aggregate number of active networks cannot exceed this value.",
- "value": 2,
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Returns a paginated collection of default resource configurations for cloud-gateways, along with organizationally-defined overrides for those resource configurations. Resource configurations are settings that are applied to all cloud gateway resources in an organization. For example, the "data-plane-group-idle-timeout-minutes" resource configuration sets the idle timeout for all data plane groups in an organization.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "cc504063-f3bb-4e09-8e32-bbcdbc5cd618",
- "qualifier": "data-plane-group-idle-timeout-minutes",
- "name": "Data Plane Group Idle Timeout Minutes",
- "description": "The number of minutes that a data plane group can be idle before it is automatically scaled down to zero instances.",
- "value": 45,
- "overrides": [
- {
- "id": "9678f205-49a1-47bb-82d9-d01cafa42a0d",
- "qualifier": "data-plane-group-idle-timeout-minutes",
- "value": 45
}
], - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Returns a paginated collection of resource configurations for an organization. Resource configurations are settings that are applied to all cloud gateway resources in an organization. For example, the "data-plane-group-idle-timeout-minutes" resource configuration sets the idle timeout for all data plane groups in an organization.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "9678f205-49a1-47bb-82d9-d01cafa42a0d",
- "qualifier": "data-plane-group-idle-timeout-minutes",
- "value": 45
}
]
}Retrieves a resource configuration by ID.
| resourceConfigurationId required | string <uuid> (ResourceConfigurationId) Example: 9678f205-49a1-47bb-82d9-d01cafa42a0d The ID of the resource configuration to operate on. |
{- "id": "9678f205-49a1-47bb-82d9-d01cafa42a0d",
- "qualifier": "data-plane-group-idle-timeout-minutes",
- "value": 45
}Get Cloud Gateways Availability JSON document for describing cloud provider and region availability, pricing, gateway version availability, and instance type information.
{- "versions": [
- "3.2"
], - "instance_types": [
- {
- "name": "small",
- "hourly_cost": "1.00",
- "v_cpu": "2",
- "gb_memory": "2"
}
], - "providers": [
- {
- "provider": "aws",
- "regions": [
- {
- "region": "us-east-2",
- "name": "N. Virginia",
- "availability_zones": [
- "use2-az1",
- "use2-az2",
- "use2-az3"
], - "cidr_blocks": [
- "10.0.0.0/8",
- "100.64.0.0/10",
- "172.16.0.0/12",
- "192.168.0.0/16",
- "198.18.0.0/15"
], - "reserved_cidr_blocks": [
- "10.100.0.0/16",
- "172.17.0.0/16"
]
}
]
}
]
}Returns an array of control plane objects containing information about the Konnect Control Planes.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object (ControlPlaneFilterParameters) Filters a collection of control-planes. | |
| labels | string Example: labels=key:value,existCheck Filter control planes in the response by associated labels. |
| sort | string (SortQuery) Example: sort=name,created_at desc Sorts a collection of control-planes. Supported sort attributes are:
|
{- "meta": {
- "page": {
- "number": 2,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": true,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Create a control plane in the Konnect Organization.
| name required | string The name of the control plane. |
| description | string The description of the control plane in Konnect. |
| cluster_type | string Enum: "CLUSTER_TYPE_CONTROL_PLANE" "CLUSTER_TYPE_K8S_INGRESS_CONTROLLER" "CLUSTER_TYPE_CONTROL_PLANE_GROUP" "CLUSTER_TYPE_SERVERLESS" The ClusterType value of the cluster associated with the Control Plane. |
| auth_type | string Enum: "pinned_client_certs" "pki_client_certs" The auth type value of the cluster associated with the Runtime Group. |
| cloud_gateway | boolean Whether this control-plane can be used for cloud-gateways. |
Array of objects (ProxyURLs) Array of proxy URLs associated with reaching the data-planes connected to a control-plane. | |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "cluster_type": "CLUSTER_TYPE_K8S_INGRESS_CONTROLLER",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
], - "labels": {
- "env": "test"
}
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test",
- "test": "true"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Returns information about an individual control plane.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The control plane ID |
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test",
- "test": "true"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Update an individual control plane.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The control plane ID |
| name | string The name of the control plane. |
| description | string The description of the control plane in Konnect. |
| auth_type | string Enum: "pinned_client_certs" "pki_client_certs" The auth type value of the cluster associated with the Runtime Group. |
Array of objects (ProxyURLs) Array of proxy URLs associated with reaching the data-planes connected to a control-plane. | |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
], - "labels": {
- "env": "development"
}
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test",
- "test": "true"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Delete an individual control plane.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The control plane ID |
{- "status": 400,
- "title": "Bad Request",
- "detail": "Invalid request format",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Determines the group membership status of a control plane.
| id required | string ID of a control plane |
{- "is_member": true
}Returns an array of control planes that are a member of this control plane group.
| id required | string ID of a control plane group |
| 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. |
{- "meta": {
- "page": {
- "total": 2,
- "size": 100,
- "next": "/control-planes/57fdf779-7935-476f-ab2b-7fa1323b70e6/group-memberships?q=son&page[after]=ewogICJpZCI6ICJoZWysbyB3b3JsZCIKgZ"
}
}, - "data": [
- {
- "id": "774f2a35-509d-4b94-97e9-1ed49563bcb1",
- "name": "Group Member 1",
- "description": "Child RG",
- "labels": {
- "env": "prod"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2023-03-20T22:23:45.873Z",
- "updated_at": "2023-03-30T16:17:55.073Z"
}, - {
- "id": "e4a1917c-bb26-4aa1-9a3e-50ee366f13db",
- "name": "Group Member 2",
- "description": "Child RG",
- "labels": {
- "env": "prod",
- "foo": "bar"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2023-03-23T22:25:30.907Z",
- "updated_at": "2023-03-30T16:18:12.067Z"
}
]
}Adds one or more control planes as a member of a control plane group.
| id required | string ID of a control plane group |
Request body for upserting a list of child control planes to a control plane group membership.
required | Array of objects |
{- "members": [
- {
- "id": "1beb9ad3-d21b-4090-b6e3-574784d1166d"
}, - {
- "id": "778a0474-687d-41af-8e51-a0488d790586"
}, - {
- "id": "fa85f8e8-2e5a-496e-b6d0-4e534eaab459"
}
]
}{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Adds one or more control planes as a member of a control plane group.
| id required | string ID of a control plane group |
Request body for adding a list of child control planes to a control plane group membership.
required | Array of objects |
{- "members": [
- {
- "id": "1beb9ad3-d21b-4090-b6e3-574784d1166d"
}, - {
- "id": "778a0474-687d-41af-8e51-a0488d790586"
}, - {
- "id": "fa85f8e8-2e5a-496e-b6d0-4e534eaab459"
}
]
}{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Removes one or more control planes from the members of a control plane group.
| id required | string ID of a control plane group |
Request body for removing a list of child control planes from a control plane group membership.
required | Array of objects |
{- "members": [
- {
- "id": "1beb9ad3-d21b-4090-b6e3-574784d1166d"
}, - {
- "id": "778a0474-687d-41af-8e51-a0488d790586"
}, - {
- "id": "fa85f8e8-2e5a-496e-b6d0-4e534eaab459"
}
]
}{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Returns the status of a control plane group, including existing conflicts.
| id required | string ID of a control plane group |
{- "item": {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "conflicts": [
- {
- "cluster_id": "57fdf779-7935-476f-ab2b-7fa1323b70e6",
- "description": "conflicting entity found: ID=df43b088-cace-4119-9e2a-d83e5fbb0c48, Name=svc1",
- "resource": {
- "id": "df43b088-cace-4119-9e2a-d83e5fbb0c48",
- "type": "service"
}
}, - {
- "cluster_id": "38ceea96-fe39-11ed-be56-0242ac120002",
- "description": "conflicting entity found: ID=15f3ab7d-7202-498a-95b4-334f783dbcdd, Name=svc1",
- "resource": {
- "id": "15f3ab7d-7202-498a-95b4-334f783dbcdd",
- "type": "service"
}
}
], - "state": "CONFLICT",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
}Returns authentication configuration, which determines how users can log in and how they are assigned to teams.
{- "oidc_auth_enabled": true,
- "saml_auth_enabled": false,
- "basic_auth_enabled": false,
- "idp_mapping_enabled": false,
- "konnect_mapping_enabled": true
}Updates authentication configuration.
The request schema to update an organization's authentication settings.
| basic_auth_enabled | boolean The organization has basic auth enabled. |
| oidc_auth_enabled | boolean The organization has OIDC disabled. |
| saml_auth_enabled | boolean The organization has SAML disabled. |
| idp_mapping_enabled | boolean Whether IdP groups determine the Konnect teams a user has. |
| konnect_mapping_enabled | boolean Whether a Konnect Identity Admin assigns teams to a user. |
{- "oidc_auth_enabled": false,
- "saml_auth_enabled": false,
- "basic_auth_enabled": true,
- "idp_mapping_enabled": false,
- "konnect_mapping_enabled": true
}{- "oidc_auth_enabled": true,
- "saml_auth_enabled": false,
- "basic_auth_enabled": false,
- "idp_mapping_enabled": false,
- "konnect_mapping_enabled": true
}Fetch the IdP configuration.
{- "login_path": "myapp",
- "client_id": "YOUR_CLIENT_ID",
- "scopes": [
- "email",
- "openid",
- "profile"
], - "claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-groups-claim"
}
}Update the IdP configuration.
The request schema for the update IdP configuration request.
| issuer | string <uri> |
| login_path | string |
| client_id | string |
| client_secret | string |
| scopes | Array of strings Default: ["email","openid","profile"] |
object >= 3 properties |
{- "login_path": "myapp",
- "client_id": "YOUR_CLIENT_ID",
- "client_secret": "YOUR_CLIENT_SECRET",
- "scopes": [
- "email",
- "openid",
- "profile"
], - "claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-group-claim"
}
}{- "login_path": "myapp",
- "client_id": "YOUR_CLIENT_ID",
- "scopes": [
- "email",
- "openid",
- "profile"
], - "claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-groups-claim"
}
}Retrieves the mappings between Konnect Teams and Identity Provider Groups. Returns a 400 error if an Identity Provider has not yet been configured.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}, - "data": [
- {
- "groups": [
- "Service Developers"
], - "team_id": "6801e673-cc10-498a-94cd-4271de07a0d3"
}
]
}Allows partial updates to the mappings between Konnect Teams and Identity Provider Groups. The request body must be keyed on team ID. For a given team ID, the given group list is a complete replacement. To remove all mappings for a given team, provide an empty group list.
Returns a 400 error if an Identity Provider has not yet been configured, or if a team ID in the request body is not found or is not a UUID.
The request schema for a partial update of mappings from Konnect Teams to IdP Groups.
Array of objects The IdP groups to map to the given team. |
{- "data": [
- {
- "team_id": "af91db4c-6e51-403e-a2bf-33d27ae50c0a",
- "groups": [
- "Team Leads",
- "API Engineers"
]
}
]
}{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}, - "data": [
- {
- "groups": [
- "Service Developers"
], - "team_id": "6801e673-cc10-498a-94cd-4271de07a0d3"
}
]
}Updates the IdP group to Konnect team mapping.
The request schema for updating IdP team mappings.
Array of objects The mappings object. |
{- "mappings": [
- {
- "group": "API Engineers",
- "team_ids": [
- "af91db4c-6e51-403e-a2bf-33d27ae50c0a"
]
}
]
}{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}, - "data": [
- {
- "group": "Service Developers",
- "team_ids": [
- "6801e673-cc10-498a-94cd-4271de07a0d3"
]
}
]
}Fetch the IdP group to Konnect team mapping.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 6
}
}, - "data": [
- {
- "group": "111(@&*$)(@*#_@(gfds re gdsf dfg",
- "team_ids": [
- "c0010105-e840-4824-b7ee-787f22267c36"
]
}, - {
- "group": "2222",
- "team_ids": [
- "af91db4c-6e51-403e-a2bf-33d27ae50c0a"
]
}
]
}Retrieves the identity providers available within the organization. This operation provides information about various identity providers for SAML or OIDC authentication integrations.
object Filter identity providers returned in the response. |
[- {
- "id": "a2c3156d-ebb1-432b-b2f1-edcc5f133c60",
- "type": "saml",
- "enabled": true,
- "login_path": "the-saml-konnect-org",
- "config": {
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}, - {
- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}, - {
- "id": "a2c3156d-ebb1-432b-b2f1-edcc5f133c60",
- "type": "saml",
- "enabled": true,
- "config": {
- "sp_metadata_url": "/api/v2/developer/authenticate/saml/metadata",
- "callback_url": "/api/v2/developer/authenticate/saml/acs"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}, - {
- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}
]Creates a new identity provider. This operation allows the creation of a new identity provider for authentication purposes.
An object representing the configuration for creating a new identity provider. This configuration may pertain to either an OIDC or a SAML identity provider.
| type | string (IdentityProviderType) Enum: "oidc" "saml" Specifies the type of identity provider. |
| login_path | string (Identity Provider Login Path Property) The path used for initiating login requests with the identity provider. |
OIDC Identity Provider Config (object) or SAML Identity Provider Config (object) |
{- "type": "oidc",
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "client_secret": "BbqwI8xP9E4evOK",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}
}{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Retrieves the configuration of a single identity provider. This operation returns information about a specific identity provider's settings and authentication integration details.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Updates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
An object representing the configuration for updating an identity provider. This configuration may pertain to either an OIDC or a SAML identity provider.
| enabled | boolean (Identity Provider Enabled Property) Default: false Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC. |
| login_path | string (Identity Provider Login Path Property) The path used for initiating login requests with the identity provider. |
OIDC Identity Provider Config (object) or SAML Identity Provider Config (object) |
{- "enabled": true,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "client_secret": "BbqwI8xP9E4evOK",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}
}{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Deletes an existing identity provider configuration. This operation removes a specific identity provider from the organization.
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Sends an invitation email to invite a user to the Konnect organization. The email contains a link with a one time token to accept the invitation. Upon accepting the invitation, the user is directed to https://cloud.konghq.com/login to complete registration.
The request schema for the invite user request.
If you pass an email that is not already an active user in the request, a fresh invitation email will be created and sent to the new user.
| email required | string <email> |
{- "email": "james.c.woods@example.com"
}{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Retrieves the predefined, or system managed, roles.
{- "control_planes": {
- "name": "Control Planes",
- "roles": {
- "admin": {
- "name": "Admin",
- "description": "This role grants full write access to all entities within a control plane."
}, - "certificate_admin": {
- "name": "Certificate Admin",
- "description": "This role grants full write access to administer certificates."
}, - "consumer_admin": {
- "name": "Consumer Admin",
- "description": "This role grants full write access to administer consumers."
}, - "creator": {
- "name": "Creator",
- "description": "Creates a new Control Plane in an organization. The creator becomes the owner of the Control Plane they create."
}, - "deployer": {
- "name": "Deployer",
- "description": "This role grants full write access to administer services, routes and plugins necessary to deploy services in Service Hub."
}, - "gateway_service_admin": {
- "name": "Gateway Service Admin",
- "description": "This role grants full write access to administer gateway services."
}, - "plugin_admin": {
- "name": "Plugin Admin",
- "description": "This role grants full write access to administer plugins."
}, - "route_admin": {
- "name": "Route Admin",
- "description": "This role grants full write access to administer routes."
}, - "sni_admin": {
- "name": "SNI Admin",
- "description": "This role grants full write access to administer SNIs."
}, - "upstream_admin": {
- "name": "Upstream Admin",
- "description": "This role grants full write access to administer upstreams."
}, - "viewer": {
- "name": "Viewer",
- "description": "This role grants read only access to all entities within a control plane."
}
}
}, - "api_products": {
- "name": "API Products",
- "roles": {
- "admin": {
- "name": "Admin",
- "description": "This role grants full write access to an API product and its versions."
}, - "application_registration": {
- "name": "Application Registration",
- "description": "This role grants permission to enable and disable application registration on an API product."
}, - "creator": {
- "name": "Creator",
- "description": "This access is required to create API products. This access is not for creating sub-entities such as versions, API specs, etc."
}, - "deployer": {
- "name": "Deployer",
- "description": "This role grants permission to deploy and remove an API product from a control plane."
}, - "maintainer": {
- "name": "Maintainer",
- "description": "This role grants all write permission to manage an API product and to administer plugins."
}, - "plugins_admin": {
- "name": "Plugins Admin",
- "description": "This role grants full write permission to administer plugins."
}, - "publisher": {
- "name": "Publisher",
- "description": "This role grants permission to publish an API product to one or more portals."
}, - "viewer": {
- "name": "Viewer",
- "description": "Viewer has read-only access to an API product and its sub-entities."
}
}
}, - "audit_logs": {
- "name": "Audit Logs",
- "roles": {
- "admin": {
- "name": "Admin",
- "description": "This role grants full write access to the Audit log configuration."
}
}
}, - "identity": {
- "name": "Identity",
- "roles": {
- "admin": {
- "name": "Admin",
- "description": "This role grants full write access to the Identity configuration."
}
}
}, - "mesh_control_planes": {
- "name": "Mesh Control Plane",
- "roles": {
- "admin": {
- "name": "Admin",
- "description": "This role grants full write access to the related to Mesh control planes."
}, - "connector": {
- "name": "Connector",
- "description": "This role grants a mesh zone to connect to the mesh control plane in Konnect."
}, - "creator": {
- "name": "Creator",
- "description": "This role grants access to create new Mesh control planes."
}, - "viewer": {
- "name": "Viewer",
- "description": "This role grants access to read-only permissions to Mesh control planes."
}
}
}
}Lists the roles belonging to a team. Returns 400 if any filter parameters are invalid.
| teamId required | string <uuid> Example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe The team ID |
object Filter roles returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adcd",
- "role_name": "Viewer",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type_name": "Control Planes",
- "entity_region": "eu"
}, - {
- "id": "869d9402-f117-4f9a-840f-69acaf70a81a",
- "role_name": "Admin",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "*"
}
]
}Assigns a role to a team. Returns 409 if role is already assigned.
| teamId required | string <uuid> Example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe The team ID |
The request schema for assigning a role.
| role_name | string Enum: "Admin" "Appearance Maintainer" "Application Registration" "Certificate Admin" "Cloud Gateway Cluster Admin" "Cloud Gateway Cluster Viewer" "Consumer Admin" "Connector" "Creator" "Deployer" "Discovery Admin" "Discovery Viewer" "Gateway Service Admin" "Integration Admin" "Integration Viewer" "Key Admin" "Maintainer" "Network Admin" "Network Creator" "Network Viewer" "Plugin Admin" "Plugins Admin" "Product Publisher" "Publisher" "Route Admin" "SNI Admin" "Service Admin" "Service Creator" "Service Viewer" "Upstream Admin" "Vault Admin" "Viewer" The desired role. |
| entity_id | string <uuid> The ID of the entity. |
| entity_type_name | string Enum: "APIs" "API Products" "Application Auth Strategies" "Audit Logs" "Control Planes" "DCR Providers" "Identity" "Mesh Control Planes" "Networks" "Portals" "Service Hub" The type of entity. |
| entity_region | string Enum: "us" "eu" "au" "me" "in" "*" Region of the team. |
{- "role_name": "Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Control Planes",
- "entity_region": "us"
}{- "id": "eaf7adf1-32c8-4bbf-b960-d1f8456afe67",
- "role_name": "Viewer",
- "entity_id": "817d0422-45c9-4d88-8d64-45aef05c1ae7",
- "entity_type_name": "Control Planes",
- "entity_region": "eu"
}Removes an assigned role from a team. Returns 404 if the requested team or assigned role were not found.
| teamId required | string <uuid> Example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe The team ID. |
| roleId required | string <uuid> Example: 8350205f-a305-4e39-abe9-bc082a80091a The role ID. |
{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Lists the roles assigned to a user. Returns 400 if any filter parameters are invalid.
| userId required | string <uuid> Example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe The user ID |
object Filter roles returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adcd",
- "role_name": "Viewer",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type_name": "Control Planes",
- "entity_region": "eu"
}, - {
- "id": "869d9402-f117-4f9a-840f-69acaf70a81a",
- "role_name": "Admin",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "*"
}
]
}Assigns a role to a user. Returns 409 if role is already assigned.
| userId required | string <uuid> Example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe The user ID |
The request schema for assigning a role.
| role_name | string Enum: "Admin" "Appearance Maintainer" "Application Registration" "Certificate Admin" "Cloud Gateway Cluster Admin" "Cloud Gateway Cluster Viewer" "Consumer Admin" "Connector" "Creator" "Deployer" "Discovery Admin" "Discovery Viewer" "Gateway Service Admin" "Integration Admin" "Integration Viewer" "Key Admin" "Maintainer" "Network Admin" "Network Creator" "Network Viewer" "Plugin Admin" "Plugins Admin" "Product Publisher" "Publisher" "Route Admin" "SNI Admin" "Service Admin" "Service Creator" "Service Viewer" "Upstream Admin" "Vault Admin" "Viewer" The desired role. |
| entity_id | string <uuid> The ID of the entity. |
| entity_type_name | string Enum: "APIs" "API Products" "Application Auth Strategies" "Audit Logs" "Control Planes" "DCR Providers" "Identity" "Mesh Control Planes" "Networks" "Portals" "Service Hub" The type of entity. |
| entity_region | string Enum: "us" "eu" "au" "me" "in" "*" Region of the team. |
{- "role_name": "Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Control Planes",
- "entity_region": "us"
}{- "id": "eaf7adf1-32c8-4bbf-b960-d1f8456afe67",
- "role_name": "Viewer",
- "entity_id": "817d0422-45c9-4d88-8d64-45aef05c1ae7",
- "entity_type_name": "Control Planes",
- "entity_region": "eu"
}Removes an assigned role from a user. Returns 404 if the requested user or assigned role were not found.
| userId required | string <uuid> Example: e81bc3e5-e9db-4764-b7dd-e81e39072cbe ID of the user. |
| roleId required | string <uuid> Example: 8350205f-a305-4e39-abe9-bc082a80091a ID of the role. |
{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Returns a paginated list of users that belong to the team specified in the path parameter.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter users returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 10
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "preferred_name": "Jimmy",
- "active": true,
- "created_at": "2022-08-17T17:46:57.52Z",
- "updated_at": "2022-10-03T17:00:00.00Z"
}
]
}Adds a user to a team.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
The request schema for adding a user to a team.
| id required | string <uuid> The user ID for the user being added to a team. |
{- "id": "df120cb4-f60b-47bc-a2f8-6a28e6a3c63b"
}{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Removes a user from a team. If the user was removed, returns a 204 empty response. Returns 404 if the user or team were not found.
| userId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a User ID |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Team ID. |
{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Returns a paginated list of a teams that the user belongs to.
| userId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The user ID. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter teams returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "IDM - Developers",
- "description": "The developers for the IDM API.",
- "system_team": false,
- "labels": {
- "env": "test"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}
]
}Returns an array of team objects containing information about the Konnect Teams.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter teams returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "IDM - Developers",
- "description": "The developers for the IDM API.",
- "system_team": false,
- "labels": {
- "env": "test"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}
]
}Creates a team in the Konnect Organization.
The request schema for the create team request.
If you pass the same name and description of an existing team in the request, a team with the same name and description will be created. The two teams will have different team_id values to differentiate them.
| name required | string^[\w \W]+$ A name for the team being created. |
| description | string <= 250 characters The description of the new team. |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "IDM - Developers",
- "description": "The Identity Management (IDM) team.",
- "labels": {
- "env": "test",
- "service": "test"
}
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "IDM - Developers",
- "description": "The developers for the IDM API.",
- "system_team": false,
- "labels": {
- "env": "test",
- "service": "test"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Returns information about a team from a given team ID.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The team ID |
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "IDM - Developers",
- "description": "The developers for the IDM API.",
- "system_team": false,
- "labels": {
- "env": "test",
- "service": "test"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Updates an individual team.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The team ID |
The request schema for the update team request.
| name | string^[\w \W]+$ The name of the team. |
| description | string <= 250 characters The description of the team. |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "IDM - Developers",
- "description": "The Identity Management (IDM) API team.",
- "labels": {
- "env": "prod"
}
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "IDM - Developers",
- "description": "The developers for the IDM API.",
- "system_team": false,
- "labels": {
- "env": "test",
- "service": "test"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Deletes an individual team. Returns 404 if the team is not found.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The team ID |
{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Returns a paginated list of user objects.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter users returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 10
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "preferred_name": "Jimmy",
- "active": true,
- "created_at": "2022-08-17T17:46:57.52Z",
- "updated_at": "2022-10-03T17:00:00.00Z"
}
]
}Returns the user object for the user ID specified as a path parameter.
| userId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The ID of the user being deleted. |
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "preferred_name": "Jimmy",
- "active": true,
- "created_at": "1992-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:00:00.52Z"
}Update an individual user.
| userId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The ID of the user being deleted. |
The request schema for the update user request.
| full_name | string^[\w \W]+$ The user's full name. |
| preferred_name | string <= 250 characters The user's desired name. |
{- "full_name": "James C Woods",
- "preferred_name": "Jimmy"
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "preferred_name": "Jimmy",
- "active": true,
- "created_at": "1992-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:00:00.52Z"
}Deletes an individual user. Returns 404 if the requested user was not found.
| userId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a The ID of the user being deleted. |
{- "status": 404,
- "title": "Not Found",
- "instance": "konnect:trace:2287285207635123011",
- "detail": "The requested team was not found"
}Returns an array of system accounts (SA) in the organization. Returns 400 if any filter parameters are invalid.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter system accounts returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample System Account",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "konnect_managed": false
}
]
}Creates a system account. Returns a 409 if a system account with the same name already exists.
The request schema to create a system account.
| name required | string Name of the system account. |
| description required | string Description of the system account. Useful when the system account name is not sufficient to differentiate one system account from another. |
| konnect_managed | boolean The system account is managed by Konnect (true/false). |
{- "name": "Sample System Account",
- "description": "This is a sample system account description.",
- "konnect_managed": false
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample System Account",
- "description": "This is a sample system account description.",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "konnect_managed": false
}Returns the system account (SA) for the SA ID specified as a path parameter.
| accountId required | string ID of the system account. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample System Account",
- "description": "This is a sample system account description.",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "konnect_managed": false
}Updates the specified system account. Returns a 409 if the updated name is the same as another system account in the organization.
| accountId required | string ID of the system account. |
The request schema for the update system account request.
| name | string Name of the system account. |
| description | string Description of the system account. |
{- "name": "string",
- "description": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample System Account",
- "description": "This is a sample system account description.",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "konnect_managed": false
}Deletes the specified system account. Returns 404 if the requested account was not found.
| accountId required | string ID of the system account. |
{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:952172606039454040",
- "detail": "A valid token is required"
}Returns the access tokens for the specified system account. Returns 400 if any filter parameters are invalid.
| accountId required | string ID of the system account. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter access tokens returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample Access Token",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z"
}
]
}Creates an access token for the specified system account (SA). The access token can be used for authenticating API and CLI requests. The token will only be displayed once on creation. Returns a 409 if the system account already has a token with the same name.
| accountId required | string ID of the system account. |
The request body to create a system account access token.
| name | string |
| expires_at | string <date-time> |
{- "name": "Sample Access Token",
- "expires_at": "2019-08-24T14:15:22Z"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample Access Token",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z",
- "token": "npat_12345678901234567890123456789012345678901234567890"
}Returns the system account (SA) access token for the SA Access Token ID specified as a path parameter.
| accountId required | string ID of the system account. |
| tokenId required | string ID of the system account access token. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample Access Token",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z"
}Updates the specified access token. Returns a 409 if the updated name is the same as another token belonging to the specified system user.
| accountId required | string ID of the system account. |
| tokenId required | string ID of the system account access token. |
| name | string Name of the system account access token. |
{- "name": "string"
}{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample Access Token",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "expires_at": "2019-08-24T14:15:22Z",
- "last_used_at": "2019-08-24T14:15:22Z"
}Deletes the specified token. Returns 404 if the token was not found.
| accountId required | string ID of the system account. |
| tokenId required | string ID of the system account access token. |
{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:952172606039454040",
- "detail": "A valid token is required"
}Lists the roles belonging to a system account. Returns 400 if any filter parameters are invalid.
| accountId required | string ID of the system account. |
object Filter roles returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adcd",
- "role_name": "Viewer",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type_name": "Control Planes",
- "entity_region": "eu"
}, - {
- "id": "869d9402-f117-4f9a-840f-69acaf70a81a",
- "role_name": "Admin",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "*"
}
]
}Assigns a role to a system account. Returns 409 if role is already assigned.
| accountId required | string ID of the system account. |
The request schema for assigning a role.
| role_name | string Enum: "Admin" "Appearance Maintainer" "Application Registration" "Certificate Admin" "Cloud Gateway Cluster Admin" "Cloud Gateway Cluster Viewer" "Consumer Admin" "Connector" "Creator" "Deployer" "Discovery Admin" "Discovery Viewer" "Gateway Service Admin" "Integration Admin" "Integration Viewer" "Key Admin" "Maintainer" "Network Admin" "Network Creator" "Network Viewer" "Plugin Admin" "Plugins Admin" "Product Publisher" "Publisher" "Route Admin" "SNI Admin" "Service Admin" "Service Creator" "Service Viewer" "Upstream Admin" "Vault Admin" "Viewer" The desired role. |
| entity_id | string <uuid> The ID of the entity. |
| entity_type_name | string Enum: "APIs" "API Products" "Application Auth Strategies" "Audit Logs" "Control Planes" "DCR Providers" "Identity" "Mesh Control Planes" "Networks" "Portals" "Service Hub" The type of entity. |
| entity_region | string Enum: "us" "eu" "au" "me" "in" "*" Region of the team. |
{- "role_name": "Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Control Planes",
- "entity_region": "us"
}{- "id": "eaf7adf1-32c8-4bbf-b960-d1f8456afe67",
- "role_name": "Viewer",
- "entity_id": "817d0422-45c9-4d88-8d64-45aef05c1ae7",
- "entity_type_name": "Control Planes",
- "entity_region": "eu"
}Removes an assigned role from a system account. Returns 404 if the system account or assigned role were not found.
| accountId required | string ID of the system account. |
| roleId required | string ID of the role. |
{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:952172606039454040",
- "detail": "A valid token is required"
}Returns a paginated list of a teams that the system account belongs to.
| accountId required | string ID of the system account. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter teams returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "IDM - Developers",
- "description": "The developers for the IDM API.",
- "system_team": false,
- "labels": {
- "env": "test"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}
]
}Returns a paginated list of system accounts that belong to the team specified in the path parameter.
| teamId required | string ID of the team. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter system accounts returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "Sample System Account",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "konnect_managed": false
}
]
}Adds a system account to a team. Returns a 409 if the system account is already a member of the team.
| teamId required | string ID of the team. |
The request schema for adding a system account to a team.
| id | string <uuid> ID of the system account. |
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:952172606039454040",
- "detail": "A valid token is required"
}Removes a system account from a team. Returns 404 if the team or system account were not found.
| teamId required | string ID of the team. |
| accountId required | string ID of the system account. |
{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:952172606039454040",
- "detail": "A valid token is required"
}Returns the organization of the user identified in the token of the request.
{- "created_at": "2023-01-18T11:35:45.130Z",
- "id": "023bfa42-3513-4cbf-b059-a9ddb4ea995d",
- "name": "Acme Co.",
- "owner_id": "e02c829c-0e2d-44b5-9057-07714ea613a3",
- "login_path": "acme",
- "updated_at": "2023-01-23T17:22:52.150Z",
- "state": "active",
- "retention_period_days": 90
}Returns the user account for the user identified in the token of the request.
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "preferred_name": "Jimmy",
- "active": true,
- "created_at": "1992-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:00:00.52Z"
}Callback for authenticating via an organization's IdP
| organizationLoginPath required | string The login path for the organization. |
| return_to | string Return destination for the callback. |
{- "status": 400,
- "title": "Bad Request",
- "detail": "Could not parse request body",
- "instance": "konnect:trace:3674017986744198214",
- "invalid_parameters": [
- {
- "field": "body",
- "reason": "request format is invalid"
}
]
}Returns Impersonation Settings, which determines if user impersonation is allowed for an organization.
{- "enabled": true
}Updates Impersonation Settings.
The request schema for adding a system account to a team.
| enabled | boolean Indicates if user impersonation is allowed for the organization. |
{- "enabled": false
}{- "enabled": false
}Retrieves a list of Konnect entities matching the search query provided.
| 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. |
| q required | string Example: q=name:"John Smith" The query that defines the search criteria. Supports Lucene-like syntax for filtering results. Learn more about search query syntax here. |
{- "data": [
- {
- "id": "c0010105-e840-4824-b7ee-787f22267c36",
- "type": "team",
- "name": "Sonar Readings",
- "labels": {
- "env": "prod"
}, - "attributes": {
- "created_at": "2022-07-31T09:15:15.04Z",
- "updated_at": "2023-02-11T18:47:03.34Z"
}
}, - {
- "id": "c0010105-e840-4824-b7ee-787f22267c37",
- "type": "user",
- "name": "Jason Developer",
- "attributes": {
- "created_at": "2023-01-16T00:21:01.68Z",
- "email": "jason.developer@test.com",
- "preferred_name": "",
- "updated_at": "2023-09-08T22:39:51.53Z"
}
}, - {
- "id": "c0010105-e840-4824-b7ee-787f22267c38",
- "type": "user",
- "name": "Sonia Engineer",
- "attributes": {
- "created_at": "2023-07-19T00:00:00.00Z",
- "email": "sonia.engineer@test.com",
- "preferred_name": "",
- "updated_at": "2023-07-19T00:00:00.00Z"
}
}
], - "meta": {
- "page": {
- "size": 3,
- "next": "/search?q=son&page[after]=ewogICJpZCI6ICJoZWysbyB3b3JsZCIKgZ"
}
}
}Retrieves a list of searchable Konnect entity types.
{- "data": [
- {
- "type": "user",
- "name": "User",
- "description": "A Konnect user",
- "attributes": {
- "created_at": {
- "type": "string",
- "format": "date-time",
- "name": "Created At",
- "description": "The time the user was created"
}, - "preferred_name": {
- "type": "string",
- "name": "Preferred Name",
- "description": "The user's preferred name"
}, - "email": {
- "type": "string",
- "format": "email",
- "name": "Email",
- "description": "The user's email address"
}
}, - "regions": [
- "global"
]
}, - {
- "type": "system_account",
- "name": "System Account",
- "description": "A Konnect system account",
- "attributes": {
- "konnect_managed": {
- "type": "boolean",
- "name": "Konnect Managed",
- "description": "Whether the system account is managed by Konnect"
}
}, - "regions": [
- "global"
]
}, - {
- "type": "api_product",
- "name": "API Product",
- "description": "A Konnect API Product",
- "regions": [
- "us",
- "eu",
- "au"
]
}
]
}Returns an array of control planes objects.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "size": 1,
- "total": 10,
- "number": 3
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "test": "true"
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}
]
}Create a new control plane
| name required | string (MeshControlPlaneName) [ 1 .. 100 ] characters ^[a-z0-9A-Z]{1}.*$ The name of the control plane. |
| description | string (MeshControlPlaneDescription) <= 250 characters |
Array of objects (MeshControlPlaneFeatures) | |
object or null (Labels) <= 10 properties Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters. |
{- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "test": "true"
}
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test",
- "test": "true"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Get the control plane
| cpId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test",
- "test": "true"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Delete the control plane
| cpId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
{- "status": 401,
- "title": "Unauthenticated",
- "instance": "konnect:trace:4497422055499297627",
- "detail": "A valid token is required"
}Update a whole control plane
| cpId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
| name required | string (MeshControlPlaneName) [ 1 .. 100 ] characters ^[a-z0-9A-Z]{1}.*$ The name of the control plane. |
| description | string (MeshControlPlaneDescription) <= 250 characters |
object or null (Labels) <= 10 properties Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters. |
{- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "test": "true"
}
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test",
- "test": "true"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Update an individual control plane.
| cpId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Konnect resource |
| name | string (MeshControlPlaneName) [ 1 .. 100 ] characters ^[a-z0-9A-Z]{1}.*$ The name of the control plane. |
| description | string <= 250 characters |
object or null (Labels) <= 10 properties Labels to facilitate tagged search on control planes. Keys must be of length 1-63 characters. |
{- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "test": "true"
}
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Test Control Plane",
- "description": "A test control plane for exploration.",
- "labels": {
- "env": "test",
- "test": "true"
}, - "config": {
- "cluster_type": "CLUSTER_TYPE_CONTROL_PLANE",
- "auth_type": "pinned_client_certs",
- "cloud_gateway": false,
- "proxy_urls": [
- {
- "host": "example.com",
- "port": 443,
- "protocol": "https"
}
]
}, - "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}List available user configurations.
object (ConfigurationFilterParameters) Filters a collection of configurations. |
{- "data": [
- {
- "event_id": "billing.invoice.unpaid-reminder",
- "event_title": "Unpaid invoice reminder",
- "event_description": "Reminder for an unpaid invoice",
- "event_namespace": "plan-and-usage",
- "event_subscription_count": 2,
- "default_subscription": [
- {
- "channel": "IN_APP",
- "enabled": true
}, - {
- "channel": "EMAIL",
- "enabled": true
}
]
}
]
}List event subscriptions.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
{- "data": [
- {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d291",
- "regions": [
- "US",
- "EU"
], - "entities": [
- "invoice-1",
- "invoice-2"
], - "channels": [
- {
- "type": "IN_APP",
- "enabled": true
}, - {
- "type": "EMAIL",
- "enabled": true
}
], - "enabled": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}, - {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "channels": [
- {
- "type": "IN_APP",
- "enabled": true
}, - {
- "type": "EMAIL",
- "enabled": true
}
], - "enabled": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "next": "",
- "previous": "",
- "size": 10
}
}Create a new subscription for an event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
Request body schema for creating/updating event subscription.
| regions required | Array of strings (NotificationRegion) Items Enum: "US" "EU" "AU" "*" |
| entities required | Array of strings |
required | Array of objects (NotificationChannel) |
| enabled required | boolean Enable/Disable complete subscription within an event. |
{- "regions": [
- "US",
- "EU"
], - "entities": [
- "control-plane-1",
- "control-plane-2"
], - "channels": [
- {
- "type": "IN_APP",
- "enabled": true
}, - {
- "type": "EMAIL",
- "enabled": true
}
], - "enabled": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "channels": [
- {
- "type": "IN_APP",
- "enabled": true
}, - {
- "type": "EMAIL",
- "enabled": true
}
], - "enabled": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Get subscription for an event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
| subscriptionId required | string Subscription ID of the user configuration. |
{- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "channels": [
- {
- "type": "IN_APP",
- "enabled": true
}, - {
- "type": "EMAIL",
- "enabled": true
}
], - "enabled": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Update subscription for an event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
| subscriptionId required | string Subscription ID of the user configuration. |
Request body schema for creating/updating event subscription.
| regions required | Array of strings (NotificationRegion) Items Enum: "US" "EU" "AU" "*" |
| entities required | Array of strings |
required | Array of objects (NotificationChannel) |
| enabled required | boolean Enable/Disable complete subscription within an event. |
{- "regions": [
- "US",
- "EU"
], - "entities": [
- "control-plane-1",
- "control-plane-2"
], - "channels": [
- {
- "type": "IN_APP",
- "enabled": true
}, - {
- "type": "EMAIL",
- "enabled": true
}
], - "enabled": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d292",
- "regions": [
- "*"
], - "entities": [
- "*"
], - "channels": [
- {
- "type": "IN_APP",
- "enabled": true
}, - {
- "type": "EMAIL",
- "enabled": true
}
], - "enabled": true,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Delete subscription associated with event.
| eventId required | string Example: invoice-ready Formatted string ID of the notification event. |
| subscriptionId required | string Subscription ID of the user configuration. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}List available notifications.
| page[before] | string Example: page[before]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item before this parameter. |
| page[after] | string Example: page[after]=ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ Request the next page of data, starting with the item after this parameter. |
object (NotificationFilterParameters) Filters a collection of notifications. |
{- "data": [
- {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d289",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "US",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-1",
- "details": {
- "entity_id": "invoice-1",
- "entity_type": "invoice"
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}, - {
- "id": "93f8380e-7798-4566-99e3-2edf2b57d290",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "EU",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-2",
- "details": {
- "entity_id": "invoice-2",
- "entity_type": "invoice"
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "next": "",
- "previous": "",
- "size": 10
}
}Get notification details.
| notificationId required | string ID of the notification. |
{- "id": "93f8380e-7798-4566-99e3-2edf2b57d290",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "EU",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-1",
- "details": {
- "entity_id": "invoice-1",
- "entity_type": "invoice",
- "regions": [
- "EU"
]
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Update notification.
| notificationId required | string ID of the notification. |
Request body schema for updating notification status.
| status required | string (NotificationStatus) Enum: "READ" "UNREAD" "ARCHIVED" Status of the notification. |
{- "status": "READ"
}{- "id": "93f8380e-7798-4566-99e3-2edf2b57d290",
- "title": "Unpaid invoice reminder",
- "description": "Reminder for an unpaid invoice.",
- "status": "UNREAD",
- "region": "EU",
- "namespace": "plan-and-usage",
- "entity_id": "invoice-1",
- "details": {
- "entity_id": "invoice-1",
- "entity_type": "invoice",
- "regions": [
- "EU"
]
}, - "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Delete notification.
| notificationId required | string ID of the notification. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Mark a list of notifications to a status.
Request body schema for bulk status update.
| ids required | Array of strings [ 1 .. 100 ] items unique |
| status required | string (NotificationStatus) Enum: "READ" "UNREAD" "ARCHIVED" Status of the notification. |
{- "ids": [
- "93f8380e-7798-4566-99e3-2edf2b57d289",
- "93f8380e-7798-4566-99e3-2edf2b57d290"
], - "status": "READ"
}{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Lists developer portals defined in this region for this organization. Each developer portal is available at a unique address and has isolated appearance, configuration, developers, and applications.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of portals. Supported sort attributes are:
|
object Filter portals returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 1
}
}, - "data": [
- {
- "id": "8f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "default_domain": "123455678abcd.us.portal.konghq.com",
- "is_public": false,
- "rbac_enabled": true,
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "custom_domain": "api.example.com",
- "custom_client_domain": "portal.example.com",
- "application_count": 0,
- "developer_count": 0,
- "published_product_count": 0
}
]
}Creates a new developer portal scoped in this region for this organization.
Create a portal.
| name required | string (PortalName) [ 1 .. 255 ] characters The name of the portal, used to distinguish it from other portals. Name must be unique. |
| display_name | string (PortalDisplayName) [ 1 .. 255 ] characters The display name of the portal. This value will be the portal's |
| description | string or null (PortalDescription) <= 512 characters The description of the portal. |
| is_public | boolean Whether the portal catalog can be accessed publicly without any developer authentication. Developer accounts and applications cannot be created if the portal is public. |
| rbac_enabled | boolean Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for products until unless assigned to teams with access to view and consume specific products. |
| auto_approve_applications | boolean Whether the requests from applications to register for products will be automatically approved, or if they will be set to pending until approved by an admin. |
| auto_approve_developers | boolean Whether the developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin. |
| custom_domain | string or null <hostname> <= 1024 characters The custom domain to access the developer portal. A CNAME for the portal's default domain must be able to be set for the custom domain for it to be valid. After setting a valid CNAME, an SSL/TLS certificate will be automatically manged for the custom domain, and traffic will be able to use the custom domain to route to the portal's web client and API. |
| custom_client_domain | string or null <hostname> <= 1024 characters The custom domain to access a self-hosted customized developer portal client. If this is set, the Konnect-hosted portal will no longer be available. |
| default_application_auth_strategy_id | string or null <uuid> (DefaultApplicationAuthStratID) Default strategy ID applied on applications for the portal |
object (Labels) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "name": "MyDevPortal",
- "is_public": false,
- "rbac_enabled": true,
- "auto_approve_applications": false,
- "auto_approve_developers": false,
- "custom_domain": "api.example.com",
- "custom_client_domain": "portal.example.com"
}{- "id": "9f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "default_domain": "123455678abcd.us.portal.konghq.com",
- "is_public": false,
- "rbac_enabled": true,
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "custom_domain": "api.example.com",
- "custom_client_domain": "portal.example.com",
- "application_count": 0,
- "developer_count": 0,
- "published_product_count": 0
}Returns the configuration for a single developer portal. This allows you to understand the current visibility, access, and domain settings.
| portalId required | string <uuid> ID of the portal. |
{- "id": "9f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "default_domain": "123455678abcd.us.portal.konghq.com",
- "is_public": false,
- "rbac_enabled": true,
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "custom_domain": "api.example.com",
- "custom_client_domain": "portal.example.com",
- "application_count": 0,
- "developer_count": 0,
- "published_product_count": 0
}Updates the configuration for a single portal including the visibility, access, and custom domain settings.
| portalId required | string <uuid> ID of the portal. |
Update a portal's settings.
| name | string (PortalName) [ 1 .. 255 ] characters The name of the portal, used to distinguish it from other portals. Name must be unique. |
| display_name | string (PortalDisplayName) [ 1 .. 255 ] characters The display name of the portal. This value will be the portal's |
| description | string or null (PortalDescription) <= 512 characters The description of the portal. |
| is_public | boolean Whether the portal catalog can be accessed publicly without any developer authentication. Developer accounts and applications cannot be created if the portal is public. |
| rbac_enabled | boolean Whether the portal resources are protected by Role Based Access Control (RBAC). If enabled, developers view or register for products until unless assigned to teams with access to view and consume specific products. |
| auto_approve_applications | boolean Whether the requests from applications to register for products will be automatically approved, or if they will be set to pending until approved by an admin. |
| auto_approve_developers | boolean Whether the developer account registrations will be automatically approved, or if they will be set to pending until approved by an admin. |
| custom_domain | string or null <hostname> <= 1024 characters The custom domain to access the developer portal. A CNAME for the portal's default domain must be able to be set for the custom domain for it to be valid. After setting a valid CNAME, an SSL/TLS certificate will be automatically manged for the custom domain, and traffic will be able to use the custom domain to route to the portal's web client and API. |
| custom_client_domain | string or null <hostname> <= 1024 characters The custom domain to access a self-hosted customized developer portal client. If this is set, the Konnect-hosted portal will no longer be available. |
| default_application_auth_strategy_id | string or null <uuid> (DefaultApplicationAuthStratID) Default strategy ID applied on applications for the portal |
object or null (LabelsUpdate) <= 50 properties Labels store metadata of an entity that can be used for filtering an entity list or for searching across entity types. Labels are intended to store INTERNAL metadata. Keys must be of length 1-63 characters, and cannot start with "kong", "konnect", "mesh", "kic", or "_". |
{- "is_public": false,
- "rbac_enabled": true,
- "auto_approve_applications": false,
- "auto_approve_developers": false,
- "custom_domain": "api.example.com",
- "custom_client_domain": "portal.example.com"
}{- "id": "9f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-10-08T17:00:00.52Z",
- "name": "Portal A",
- "display_name": "Developer Portal A",
- "description": "The Portal A",
- "default_domain": "123455678abcd.us.portal.konghq.com",
- "is_public": false,
- "rbac_enabled": true,
- "auto_approve_applications": false,
- "auto_approve_developers": true,
- "custom_domain": "api.example.com",
- "custom_client_domain": "portal.example.com",
- "application_count": 0,
- "developer_count": 0,
- "published_product_count": 0
}Deletes a single portal, along with all related entities. Will not allow deletion if there are developers registered to portal or if there are portal product versions with application registration enabled, unless force=true query param is included in the request.
| portalId required | string <uuid> ID of the portal. |
| force | string Default: "false" Enum: "true" "false" If true, delete specified portal and all related entities, even if there are developers registered to portal or if there are portal product versions with application registration enabled. If false, do not allow deletion if there are developers registered to portal or if there are portal product versions with application registration enabled. |
{- "status": 400,
- "title": "Invalid Request",
- "instance": "kong:trace:1433447772874964729",
- "detail": "Invalid Parameters",
- "invalid_parameters": [
- {
- "field": "force",
- "rule": "required",
- "reason": "This Portal has 30 developers, 10 gateway-linked API product versions with active auth strategies. These must be individually removed before deletion or the force=true query param can be used to automatically delete associated entities.”",
- "source": "query"
}
]
}Verifies the current status of the custom hosted domain for this portal, indicating whether the appropriate CNAME properties have propagated and if a corresponding SSL certificate has been generated.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "is_cname_verified": true,
- "is_ssl_issued": false
}Lists the developers that have registered for this portal. Each developer can be registered to one portal and must be approved to login unless using the developer auto-approve setting.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of developers. Supported sort attributes are:
|
object Filter developers returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 4
}
}, - "data": [
- {
- "id": "8cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "jane.developer@example.com",
- "full_name": "Jane Dev",
- "status": "approved",
- "application_count": 8,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}, - {
- "id": "4cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "John Dev",
- "status": "revoked",
- "application_count": 27,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}, - {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "Jim Dev",
- "status": "pending",
- "application_count": 0,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}, - {
- "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "john.developer@example.com",
- "full_name": "Jan Dev",
- "status": "rejected",
- "application_count": 1,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}
]
}Returns information about a single developer in this portal. Each developer manages a set applications, providing them credentials to access registered API product versions. Developer registration access can be limited to specific API products using RBAC.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| developerId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The developer ID |
{- "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "developer@example.com",
- "full_name": "Jane Dev",
- "status": "approved",
- "application_count": 3,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}Updates the status of a particular developer. Approved developers have access to login to the portal. Revoked, rejected, or pending are not allowed to login. Even if a developer's status is no longer approved, they will still be able to using any existing credentials generated while they were approved, until each application registration is revoked or deleted.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| developerId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The developer ID |
Update a developer.
| status | string (DeveloperStatus) Enum: "approved" "pending" "revoked" "rejected" The status of a developer in a portal. Approved developers can log in, create applications, and view and register for products they have access to. Pending, revoked, and rejected developers cannot login or view any non-public portal information, or create or modify applications or registrations. |
{- "status": "approved"
}{- "id": "7cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "email": "developer@example.com",
- "full_name": "Jane Dev",
- "status": "approved",
- "application_count": 3,
- "created_at": "2022-11-15T20:37:41.457Z",
- "updated_at": "2022-11-15T20:37:47.456Z"
}Deletes a developer, which will discontinue their ability to login, view any non-public resources, and delete all applications owned by them. All credentials issued to the developer will no longer provide access to any API Products. A deleted developer's unique email must be re-registered and approved to gain access again.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| developerId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The developer ID |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Lists the developer teams in a portal. Each team can contain any developer and developers can be part of multiple teams.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter teams returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 3
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Partner",
- "description": "Team with access to Partner APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "af9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Internal",
- "description": "Team with access to Internal APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "4f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Root",
- "description": "Team with access to Internal Systems",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}
]
}Creates a developer team in a portal. Developers can be added to teams to provide RBAC access to API products. Teams can be assigned roles that grant permissions to perform an action on a resource.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
Create a team in a portal.
| name required | string^[\w \W]+$ |
| description | string <= 250 characters |
{- "name": "IDM - Developers",
- "description": "The Identity Management (IDM) API team."
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Gold Tier",
- "description": "Team with access to APIs in the Gold tier",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Get an individual team.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Gold Tier",
- "description": "Team with access to APIs in the Gold tier",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Updates an individual developer team for a portal.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
Update a team in a portal.
| name | string^[\w \W]+$ |
| description | string <= 250 characters |
{- "name": "IDM - Developers",
- "description": "The Identity Management (IDM) API team."
}{- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Gold Tier",
- "description": "Team with access to APIs in the Gold tier",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}Deletes a developer team from a portal. Deleting a team also deletes its assigned roles. Members of the team are not deleted, but they will lose any access provided through the team.
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}APIs related to Developer Membership in Konnect Developer Portal Developer Teams.
Lists the teams to which a developer belongs. Each team a developer is a member of grants them various roles that provide permissions to perform actions on certain resources.
| developerId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the developer. |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 3
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Partner",
- "description": "Team with access to Partner APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "af9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Internal",
- "description": "Team with access to Internal APIs",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}, - {
- "id": "4f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "name": "Root",
- "description": "Team with access to Internal Systems",
- "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-09-25T13:00:00.00Z"
}
]
}List a team's developers.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
object Filter developers returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "james.woods@email.com",
- "full_name": "James Woods",
- "active": true,
- "created_at": "2022-08-17T17:46:57.52Z",
- "updated_at": "2022-10-03T17:00:00.00Z"
}, - {
- "id": "4f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "email": "jill.stone@email.com",
- "full_name": "Jill Stone",
- "active": false,
- "created_at": "2022-07-17T17:46:57.52Z",
- "updated_at": "2022-10-03T17:00:00.00Z"
}
]
}Adds a developer to a team. This associates them with all of the roles that have been assigned to the team, providing specific permissions to perform actions on resources.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
Add a developer to a team.
| id required | string <uuid> |
{- "id": "df120cb4-f60b-47bc-a2f8-6a28e6a3c63b"
}{- "status": 400,
- "title": "Invalid Request",
- "instance": "kong:trace:1433447772874964729",
- "detail": "Invalid Parameters",
- "invalid_parameters": [
- {
- "field": "my_attribute",
- "rule": "required",
- "reason": "\"my_attribute\" is required",
- "source": "body"
}
]
}Removes a developer from a team. This removes the association of the team's roles from the developer.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| developerId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the developer. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}List roles that can be assigned to teams in a portal. Each role provides a set of permissions to perform an action on a resource.
{- "services": {
- "name": "Services",
- "roles": {
- "apiviewer": {
- "name": "API Viewer",
- "description": "API Viewers have read-only access to the documentation of a service in a portal"
}, - "apiconsumer": {
- "name": "API Consumer",
- "description": "API Consumers can make calls to the given service"
}
}
}
}Lists the roles belonging to a developer team. Each role provides permissions to perform actions on a specified resource or collection.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 3
}
}, - "data": [
- {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adce",
- "role_name": "API Viewer",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type_name": "Services",
- "entity_region": "us"
}, - {
- "id": "b02e23c5-8ee4-4e5a-99f4-43329923adce",
- "role_name": "API Consumer",
- "entity_id": "437c7192-fea0-4f35-8478-c8d57783f8c1",
- "entity_type": "Services",
- "entity_region": "us"
}, - {
- "id": "869d9402-f117-4f9a-840f-69acaf70a81a",
- "role_name": "API Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "us"
}
]
}Assign a role to a developer team. This associates the set of permissions in a role with the team, so that they will be applied to any developer who is a member of the team.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
Assign a role to a team.
| role_name | string |
| entity_id | string <uuid> |
| entity_type_name | string |
| entity_region | string Enum: "us" "eu" "au" "me" "in" "*" Region of the entity. |
{- "role_name": "API Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "us"
}{- "id": "1a3c2169-27f8-4594-926b-41df3432d5dc",
- "role_name": "API Viewer",
- "entity_id": "18ee2573-dec0-4b83-be99-fa7700bcdc61",
- "entity_type_name": "Services",
- "entity_region": "us"
}Removes an assigned role from a developer team. This deletes the association of the role with team and each of its members.
| roleId required | string <uuid> Example: 8350205f-a305-4e39-abe9-bc082a80091a |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| teamId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the team. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Returns the configuration of a single application in any portal. If an application is linked to a DCR Provider, the dcr_provider.id and reference_id can be used to correlate it. An application manages a set of credentials and registrations for specific API product versions.
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
{- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "An easy to manage app in a Konnect developer portal",
- "reference_id": "df66b180-97df-4ddb-8b45-8b7d5eac56da",
- "registration_count": 4,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "dcr_provider": null,
- "granted_scopes": null,
- "developer": {
- "id": "9cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev",
- "email": "jane.developer@example.com"
}, - "created_at": "2022-12-22T19:09:30.712Z",
- "updated_at": "2022-12-22T19:09:30.712Z"
}Lists applications created by developers in this portal. Each application can be registered for various API Products (by version), issuing credentials for API request access. If using DCR, an application will be linked to an Identity Provider's application by its reference_id.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of applications. Supported sort attributes are:
|
object Filter applications returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "An easy to manage app in a Konnect developer portal",
- "reference_id": "df66b180-97df-4ddb-8b45-8b7d5eac56da",
- "registration_count": 2,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "dcr_provider": null,
- "granted_scopes": null,
- "developer": {
- "id": "9cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev",
- "email": "jane.developer@example.com"
}, - "created_at": "2022-12-22T19:09:30.712Z",
- "updated_at": "2022-12-22T19:09:30.712Z"
}, - {
- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "A Konnect application that is linked to an Identity Provider application using Dynamic Client Registration (DCR)",
- "reference_id": "yr1k0d9kj3l0cl01hp4o0",
- "registration_count": 3,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "dcr_provider": {
- "id": "7ea06071-49c7-4c2e-ae49-8a86d72a8110"
}, - "granted_scopes": [
- "openid"
], - "developer": {
- "id": "9cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "John Dev",
- "email": "john.developer@example.com"
}, - "created_at": "2022-12-22T19:07:30.712Z",
- "updated_at": "2022-12-22T19:07:30.712Z"
}
]
}Returns the configuration of a single application in this portal. If an application is linked to a DCR Provider, the dcr_provider.id and reference_id can be used to correlate it. An application manages a set of credentials and registrations for specific API product versions.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
{- "id": "b15e2460-ba40-431d-9df0-4957fcffacda",
- "labels": {
- "env": "test"
}, - "name": "App 1",
- "description": "An easy to manage app in a Konnect developer portal",
- "reference_id": "df66b180-97df-4ddb-8b45-8b7d5eac56da",
- "registration_count": 4,
- "portal": {
- "id": "95606071-49c7-4c2e-ae49-8a86d72a8110"
}, - "dcr_provider": null,
- "granted_scopes": null,
- "developer": {
- "id": "9cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev",
- "email": "jane.developer@example.com"
}, - "created_at": "2022-12-22T19:09:30.712Z",
- "updated_at": "2022-12-22T19:09:30.712Z"
}Delete a single application in this portal, along with its registrations and credentials.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Lists all of the application registrations and their current status (e.g., approved or pending) for this portal. Each registration is associated with a single API product version. Access is provided through the credentials issued to the application that contains each registration.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of application registrations. Supported sort attributes are:
|
object Filter application registrations returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "c200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v1"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [
- "openid"
], - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "rejected",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 2"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v0"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": null,
- "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "pending",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v2"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [
- "openid",
- "read:myscope"
], - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "revoked",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v1"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [ ],
- "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}
]
}Lists each API product version that this application is registered for and their current status (e.g., pending, approved, rejected, revoked).
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a set of registrations for an application. Supported sort attributes are:
|
object Filter application registrations returned in the response. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "c200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v1"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [
- "openid"
], - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d200cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "rejected",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 2"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v0"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": null,
- "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "pending",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v2"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [
- "openid",
- "read:myscope"
], - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}, - {
- "id": "d300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "revoked",
- "application": {
- "id": "e15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 3"
}, - "product": {
- "id": "56f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Good Product"
}, - "product_version": {
- "id": "64e54925-20a0-4788-9873-d24db33f1495",
- "name": "v1"
}, - "developer": {
- "id": "6cd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [ ],
- "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}
]
}Returns information about an application's registration status for a particular API product version.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
| registrationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application registration ID |
{- "id": "c300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "c15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "product": {
- "id": "86f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Product"
}, - "product_version": {
- "id": "74e54925-20a0-4788-9873-d24db33f1495",
- "name": "v1"
}, - "developer": {
- "id": "ecd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [
- "openid"
], - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}Updates the status of a particular application registration to an API Product Version. Approved application registrations will allow API traffic to the corresponding API. Revoked, rejected, or pending will not allow API traffic.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
| registrationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application registration ID |
Update an application registration.
| status | string (ApplicationRegistrationStatus) Enum: "approved" "pending" "revoked" "rejected" The status of an application registration request. Each registration is linked to a single version of a product, and application credentials will not grant access to the product version until the registration is approved. Pending, revoked, and rejected registrations will not provide access to the product version. |
{- "status": "approved"
}{- "id": "c300cc33-2d33-4754-b086-a98e0fcd36fb",
- "status": "approved",
- "application": {
- "id": "c15e2460-ba40-431d-9df0-4957fcff7cda",
- "name": "App 1"
}, - "product": {
- "id": "86f637b7-cd95-478b-9b02-d770618f641c",
- "name": "Great Product"
}, - "product_version": {
- "id": "74e54925-20a0-4788-9873-d24db33f1495",
- "name": "v1"
}, - "developer": {
- "id": "ecd9feff-b4da-4a9f-ba49-cbe83c75ff22",
- "name": "Jane Dev"
}, - "granted_scopes": [
- "openid"
], - "created_at": "2022-12-22T20:13:07.305Z",
- "updated_at": "2022-12-22T20:13:36.710Z"
}Deletes an application registration, which if currently approved will immediately block API traffic to the API product version. Note: Developers can request a new application registration for the given API product version as long as they have RBAC access to consume.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
| registrationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application registration ID |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Lists the granted scopes for this application registration. This is the list of scopes that will be sent to the API when making requests.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| applicationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application ID |
| registrationId required | string <uuid> (UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 The application registration ID |
{- "data": [
- "profile",
- "vault"
]
}Lists the API products that are published to this developer portal. An API product packages together multiple versions of each API, displaying each version with its set of operations and documentation. Developers can browse API Products to learn about and register for them. API Products access can be limited to certain developers using RBAC and developer teams.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| sort | string Sorts a collection of Portal Products. Supported sort attributes are:
|
object (PortalProductFilters) Filters a collection of Portal Products. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "id": "9cdcba18-5bdf-4936-81de-d76da02cb99b",
- "name": "Excellent API",
- "description": "Excellent for serving",
- "created_at": "2022-05-24T18:40:35.500Z",
- "updated_at": "2022-05-24T18:40:35.500Z",
- "portal_ids": [
- "83f1733c-862c-43e5-a005-acfb0addfcfb"
], - "labels": {
- "department": "marketing"
}, - "version_count": 4
}, - {
- "id": "6d8cba18-5bdf-4936-81de-d76da02cb99b",
- "name": "Utility API",
- "description": "Useful for helping with progress",
- "created_at": "2022-04-24T18:40:35.500Z",
- "updated_at": "2022-09-24T18:40:35.500Z",
- "portal_ids": [
- "83f1733c-862c-43e5-a005-acfb0addfcfb"
], - "labels": {
- "department": "engineering",
- "location": "cyberspace"
}, - "version_count": 21
}
]
}Returns the developer authentication configuration for a portal, which determines how developers can log in and how they are assigned to teams.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "basic_auth_enabled": true,
- "oidc_auth_enabled": true,
- "saml_auth_enabled": true,
- "oidc_team_mapping_enabled": true,
- "konnect_mapping_enabled": true,
- "idp_mapping_enabled": true,
- "oidc_config": {
- "client_id": "x7id0o42lklas0blidl2",
- "scopes": [
- "email",
- "openid",
- "profile"
], - "claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-group-claim"
}
}
}Updates the developer authentication configuration for a portal. Developers can be allowed to login using basic auth (email & password) or use Single-Sign-On (SSO) through an OIDC Identity Provider (IdP). Developers can be automatically assigned to teams by mapping claims from thier IdP account.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
Update a portal's developer authentication settings.
| basic_auth_enabled | boolean The organization has basic auth enabled. |
| oidc_auth_enabled | boolean The organization has OIDC disabled. |
| saml_auth_enabled | boolean The portal has SAML enabled or disabled. |
| oidc_team_mapping_enabled | boolean Whether IdP groups determine the Konnect Portal teams a developer has. |
| konnect_mapping_enabled | boolean Whether a Konnect Identity Admin assigns teams to a developer. |
| idp_mapping_enabled | boolean Whether IdP groups determine the Konnect Portal teams a developer has. This will soon replace oidc_team_mapping_enabled. |
| oidc_issuer | string |
| oidc_client_id | string |
| oidc_client_secret | string |
| oidc_scopes | Array of strings Default: ["email","openid","profile"] |
object (PortalClaimMappings) [ 0 .. 3 ] properties Mappings from a portal developer atribute to an Identity Provider claim. |
{- "basic_auth_enabled": true,
- "oidc_auth_enabled": true,
- "saml_auth_enabled": true,
- "oidc_team_mapping_enabled": true,
- "konnect_mapping_enabled": false,
- "idp_mapping_enabled": true,
- "oidc_client_id": "x7id0o42lklas0blidl2",
- "oidc_scopes": [
- "email",
- "openid",
- "profile"
], - "oidc_claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-group-claim"
}
}{- "basic_auth_enabled": true,
- "oidc_auth_enabled": true,
- "saml_auth_enabled": true,
- "oidc_team_mapping_enabled": true,
- "konnect_mapping_enabled": true,
- "idp_mapping_enabled": true,
- "oidc_config": {
- "client_id": "x7id0o42lklas0blidl2",
- "scopes": [
- "email",
- "openid",
- "profile"
], - "claim_mappings": {
- "name": "name",
- "email": "email",
- "groups": "custom-group-claim"
}
}
}Lists mappings between Konnect portal teams and Identity Provider (IdP) groups. Returns a 400 error if an IdP has not yet been configured.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "team_id": "6801e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Tech Leads",
- "API Engineers"
]
}, - {
- "team_id": "7301e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Managers",
- "Directors"
]
}
]
}Allows partial updates to the mappings between Konnect portal teams and Identity Provider (IdP) groups. The request body must be keyed on team ID. For a given team ID, the given group list is a complete replacement. To remove all mappings for a given team, provide an empty group list. Returns a 400 error if an IdP has not yet been configured, or if a team ID in the request body is not found or is not a UUID.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
Array of objects The IdP groups to map to the given team. |
{- "data": [
- {
- "team_id": "af91db4c-6e51-403e-a2bf-33d27ae50c0a",
- "groups": [
- "Service Developer"
]
}, - {
- "team_id": "bc11db4c-6e51-403e-a2bf-33d27ae50c0a",
- "groups": [
- "Service Owner"
]
}
]
}{- "meta": {
- "page": {
- "number": 1,
- "size": 10,
- "total": 2
}
}, - "data": [
- {
- "team_id": "6801e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Tech Leads",
- "API Engineers"
]
}, - {
- "team_id": "7301e673-cc10-498a-94cd-4271de07a0d3",
- "groups": [
- "Managers",
- "Directors"
]
}
]
}Retrieves the identity providers available within the portal. This operation provides information about various identity providers for SAML or OIDC authentication integrations.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
object Filter identity providers returned in the response. |
[- {
- "id": "a2c3156d-ebb1-432b-b2f1-edcc5f133c60",
- "type": "saml",
- "enabled": true,
- "login_path": "the-saml-konnect-org",
- "config": {
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}, - {
- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}, - {
- "id": "a2c3156d-ebb1-432b-b2f1-edcc5f133c60",
- "type": "saml",
- "enabled": true,
- "config": {
- "sp_metadata_url": "/api/v2/developer/authenticate/saml/metadata",
- "callback_url": "/api/v2/developer/authenticate/saml/acs"
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}, - {
- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}
]Creates a new identity provider. This operation allows the creation of a new identity provider for authentication purposes.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
An object representing the configuration for creating a new identity provider. This configuration may pertain to either an OIDC or a SAML identity provider.
| type | string (IdentityProviderType) Enum: "oidc" "saml" Specifies the type of identity provider. |
| login_path | string (Identity Provider Login Path Property) The path used for initiating login requests with the identity provider. |
OIDC Identity Provider Config (object) or SAML Identity Provider Config (object) |
{- "type": "oidc",
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "client_secret": "BbqwI8xP9E4evOK",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}
}{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Retrieves the configuration of a single identity provider. This operation returns information about a specific identity provider's settings and authentication integration details.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Updates the configuration of an existing identity provider. This operation allows modifications to be made to an existing identity provider's configuration.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
An object representing the configuration for updating an identity provider. This configuration may pertain to either an OIDC or a SAML identity provider.
| enabled | boolean (Identity Provider Enabled Property) Default: false Indicates whether the identity provider is enabled. Only one identity provider can be active at a time, such as SAML or OIDC. |
| login_path | string (Identity Provider Login Path Property) The path used for initiating login requests with the identity provider. |
OIDC Identity Provider Config (object) or SAML Identity Provider Config (object) |
{- "enabled": true,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "client_secret": "BbqwI8xP9E4evOK",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}
}{- "id": "66da2d42-469d-48cd-9ff3-0db135dd82d8",
- "type": "oidc",
- "enabled": false,
- "login_path": "the-oidc-konnect-org",
- "config": {
- "client_id": "0oaqhb43ckTZ02j1F357",
- "scopes": [
- "openid",
- "email",
- "profile"
], - "claim_mappings": {
- "email": "email",
- "name": "name",
- "groups": "groups"
}
}, - "created_at": "2022-02-07T17:46:57.52Z",
- "updated_at": "2022-02-07T17:46:57.52Z"
}Deletes an existing identity provider configuration. This operation removes a specific identity provider from the portal.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| id required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a ID of the identity provider. |
{- "status": 0,
- "title": "string",
- "type": "string",
- "instance": "string",
- "detail": "string",
- "invalid_parameters": [
- {
- "field": "name",
- "rule": "required",
- "source": "body",
- "reason": "is a required field"
}
]
}Returns the current portal appearance configuration including any custom theme, colors, fonts, and image settings. Portals using the fully-customizable portal client may override or ignore these settings by disregarding them in the code.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "theme_name": "custom",
- "use_custom_fonts": true,
- "custom_theme": {
- "colors": {
- "section": {
- "header": {
- "value": "#F8F8F8",
- "description": "Background for header"
}, - "body": {
- "value": "#FFFFFF",
- "description": "Background for main content"
}, - "hero": {
- "value": "#F8F8F8",
- "description": "Background for hero section"
}, - "accent": {
- "value": "#F8F8F8",
- "description": "Subtle background"
}, - "tertiary": {
- "value": "#FFFFFF",
- "description": "Tertiary background"
}, - "stroke": {
- "value": "rgba(0,0,0,0.1)",
- "description": "Border color"
}, - "footer": {
- "value": "#07A88D",
- "description": "Background for footer"
}
}, - "text": {
- "header": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Header text"
}, - "hero": {
- "value": "#FFFFFF",
- "description": "Hero text"
}, - "headings": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Headings text"
}, - "primary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Main content text"
}, - "secondary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Supporting text"
}, - "accent": {
- "value": "#07A88D",
- "description": "Subtle text"
}, - "link": {
- "value": "#07A88D",
- "description": "Link text"
}, - "footer": {
- "value": "#FFFFFF",
- "description": "Footer text"
}
}, - "button": {
- "primary_fill": {
- "value": "#1155CB",
- "description": "Background for Primary Button"
}, - "primary_text": {
- "value": "#FFFFFF",
- "description": "Text for Primary Button"
}
}
}
}, - "custom_fonts": {
- "base": "Roboto",
- "code": "Roboto",
- "headings": "Roboto"
}, - "text": {
- "catalog": {
- "welcome_message": "Welcome",
- "primary_header": "Come on in!"
}
}, - "images": {
- "favicon": {
- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "favicon.ico"
}, - "logo": {
- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "logo.png"
}, - "catalog_cover": {
- "data": "data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU="
}
}
}Updates the current appearance configuration for this portal including setting pre-defined or custom themes, fonts, colors, and images. Note that portals using the fully-customizable portal client may override or ignore these settings by disregarding them in the code.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
Update a portal's appearance settings
| theme_name | string (PortalTheme) Enum: "mint_rocket" "dark_mode" "custom" Select a pre-existing default theme or specify 'custom' to use custom_theme variables. |
object or null (AppearanceThemeVariables) Groups of variables for configuring visual details of the portal user interface. Set theme_name to 'custom' to use custom values for theme variables. | |
object or null (NullableAppearanceFonts) Font selections to render text in the portal user interface. Must set use_custom_fonts to true to enable using custom font values. | |
| use_custom_fonts | boolean If true, fonts in custom_fonts will be used over the theme's default fonts |
object or null (NullableAppearanceTextVariables) Values to display for customizable text in the portal user interface | |
object or null (AppearanceImages) A collection of binary image data to customize images in the portal |
{- "theme_name": "custom",
- "use_custom_fonts": true,
- "custom_theme": {
- "colors": {
- "section": {
- "header": {
- "value": "#F8F8F8",
- "description": "Background for header"
}, - "body": {
- "value": "#FFFFFF",
- "description": "Background for main content"
}, - "hero": {
- "value": "#F8F8F8",
- "description": "Background for hero section"
}, - "accent": {
- "value": "#F8F8F8",
- "description": "Subtle background"
}, - "tertiary": {
- "value": "#FFFFFF",
- "description": "Tertiary background"
}, - "stroke": {
- "value": "rgba(0,0,0,0.1)",
- "description": "Border color"
}, - "footer": {
- "value": "#07A88D",
- "description": "Background for footer"
}
}, - "text": {
- "header": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Header text"
}, - "hero": {
- "value": "#FFFFFF",
- "description": "Hero text"
}, - "headings": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Headings text"
}, - "primary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Main content text"
}, - "secondary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Supporting text"
}, - "accent": {
- "value": "#07A88D",
- "description": "Subtle text"
}, - "link": {
- "value": "#07A88D",
- "description": "Link text"
}, - "footer": {
- "value": "#FFFFFF",
- "description": "Footer text"
}
}, - "button": {
- "primary_fill": {
- "value": "#1155CB",
- "description": "Background for Primary Button"
}, - "primary_text": {
- "value": "#FFFFFF",
- "description": "Text for Primary Button"
}
}
}
}, - "custom_fonts": {
- "base": "Roboto",
- "code": "Roboto",
- "headings": "Roboto"
}, - "text": {
- "catalog": {
- "welcome_message": "Welcome",
- "primary_header": "Come one in!"
}
}, - "images": {
- "favicon": {
- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "favicon.ico"
}, - "logo": {
- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "logo.png"
}, - "catalog_cover": {
- "data": "data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU="
}
}
}{- "theme_name": "custom",
- "use_custom_fonts": true,
- "custom_theme": {
- "colors": {
- "section": {
- "header": {
- "value": "#F8F8F8",
- "description": "Background for header"
}, - "body": {
- "value": "#FFFFFF",
- "description": "Background for main content"
}, - "hero": {
- "value": "#F8F8F8",
- "description": "Background for hero section"
}, - "accent": {
- "value": "#F8F8F8",
- "description": "Subtle background"
}, - "tertiary": {
- "value": "#FFFFFF",
- "description": "Tertiary background"
}, - "stroke": {
- "value": "rgba(0,0,0,0.1)",
- "description": "Border color"
}, - "footer": {
- "value": "#07A88D",
- "description": "Background for footer"
}
}, - "text": {
- "header": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Header text"
}, - "hero": {
- "value": "#FFFFFF",
- "description": "Hero text"
}, - "headings": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Headings text"
}, - "primary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Main content text"
}, - "secondary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Supporting text"
}, - "accent": {
- "value": "#07A88D",
- "description": "Subtle text"
}, - "link": {
- "value": "#07A88D",
- "description": "Link text"
}, - "footer": {
- "value": "#FFFFFF",
- "description": "Footer text"
}
}, - "button": {
- "primary_fill": {
- "value": "#1155CB",
- "description": "Background for Primary Button"
}, - "primary_text": {
- "value": "#FFFFFF",
- "description": "Text for Primary Button"
}
}
}
}, - "custom_fonts": {
- "base": "Roboto",
- "code": "Roboto",
- "headings": "Roboto"
}, - "text": {
- "catalog": {
- "welcome_message": "Welcome",
- "primary_header": "Come on in!"
}
}, - "images": {
- "favicon": {
- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "favicon.ico"
}, - "logo": {
- "data": "data:image/png;base64,bmljZV9sb29raW5nX3BpY3R1cmU=",
- "filename": "logo.png"
}, - "catalog_cover": {
- "data": "data:image/jpeg;base64,bmljZV9sb29raW5nX3BpY3R1cmU="
}
}
}Returns the portal catalog cover or returns the default
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
data:image/jpg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=
Returns the portal logo or returns the default
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
data:image/jpg;base64,bmljZV9sb29raW5nX3BpY3R1cmU=
Returns the built-in portal appearance configurations including pre-defined themes, colors, and font settings.
{- "themes": {
- "mint_rocket": {
- "colors": {
- "section": {
- "header": {
- "value": "#F8F8F8",
- "description": "Background for header"
}, - "body": {
- "value": "#FFFFFF",
- "description": "Background for main content"
}, - "hero": {
- "value": "#F8F8F8",
- "description": "Background for hero section"
}, - "accent": {
- "value": "#F8F8F8",
- "description": "Subtle background"
}, - "tertiary": {
- "value": "#FFFFFF",
- "description": "Tertiary background"
}, - "stroke": {
- "value": "rgba(0,0,0,0.1)",
- "description": "Border color"
}, - "footer": {
- "value": "#07A88D",
- "description": "Background for footer"
}
}, - "text": {
- "header": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Header text"
}, - "hero": {
- "value": "#FFFFFF",
- "description": "Hero text"
}, - "headings": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Headings text"
}, - "primary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Main content text"
}, - "secondary": {
- "value": "rgba(0,0,0,0.8)",
- "description": "Supporting text"
}, - "accent": {
- "value": "#07A88D",
- "description": "Subtle text"
}, - "link": {
- "value": "#07A88D",
- "description": "Link text"
}, - "footer": {
- "value": "#FFFFFF",
- "description": "Footer text"
}
}, - "button": {
- "primary_fill": {
- "value": "#1155CB",
- "description": "Background for Primary Button"
}, - "primary_text": {
- "value": "#FFFFFF",
- "description": "Text for Primary Button"
}
}
}
}, - "dark_mode": {
- "colors": {
- "section": {
- "header": {
- "value": "#0A161E",
- "description": "Background for header"
}, - "body": {
- "value": "#0C0C0C",
- "description": "Background for main content"
}, - "hero": {
- "value": "#1A1D21",
- "description": "Background for hero section"
}, - "accent": {
- "value": "#1F1F1F",
- "description": "Subtle background"
}, - "tertiary": {
- "value": "#222529",
- "description": "Tertiary background"
}, - "stroke": {
- "value": "#34393F",
- "description": "Border color"
}, - "footer": {
- "value": "#212429",
- "description": "Background for footer"
}
}, - "text": {
- "header": {
- "value": "#FFFFFF",
- "description": "Header text"
}, - "hero": {
- "value": "rgba(255,255,255,0.8)",
- "description": "Hero text"
}, - "headings": {
- "value": "#FFFFFF",
- "description": "Headings text"
}, - "primary": {
- "value": "#C8C8C9",
- "description": "Main content text"
}, - "secondary": {
- "value": "#919294",
- "description": "Supporting text"
}, - "accent": {
- "value": "#FFFFFF",
- "description": "Subtle text"
}, - "link": {
- "value": "#2977FF",
- "description": "Link text"
}, - "footer": {
- "value": "#FFFFFF",
- "description": "Footer text"
}
}, - "button": {
- "primary_fill": {
- "value": "#1155CB",
- "description": "Background for Primary Button"
}, - "primary_text": {
- "value": "#FFFFFF",
- "description": "Text for Primary Button"
}
}
}
}
}, - "fonts": {
- "base": "Roboto",
- "code": "Roboto Mono",
- "headings": "Lato"
}, - "text": {
- "catalog": {
- "welcome_message": "Welcome to our service catalog",
- "primary_header": "Find All of Our Services in a Single Place"
}
}
}Portal Product Versions hold metadata that describes how a Product Version is configured for a specific portal.
They contain:
List portal product versions
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| sort | string Sorts a collection of Portal Product Versions. Supported sort attributes are:
|
object (PortalProductVersionFilters) Filters a collection of Portal Product Versions. | |
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
{- "data": [
- {
- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "publish_status": "published",
- "product_version_id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "auth_strategies": [
- {
- "id": "44f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "key auth strategy",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}
], - "application_registration_enabled": true,
- "auto_approve_registration": true,
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "number": 1,
- "size": 1,
- "total": 10
}
}
}Create a portal product version
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| publish_status required | string (PortalProductVersionPublishStatus) Enum: "published" "unpublished" Publication status of the API product version on the portal |
| product_version_id required | string <uuid> (UUID_RW) Contains a unique identifier used by the API for this resource. |
| auth_strategy_ids required | Array of strings <uuid> (AuthStrategyIDs) [ 0 .. 1 ] items A list of authentication strategy IDs |
| application_registration_enabled required | boolean (ApplicationRegistrationEnabled) Whether the application registration on this portal for the api product version is enabled |
| auto_approve_registration required | boolean (AutoApproveRegistration) Whether the application registration auto approval on this portal for the api product version is enabled |
| deprecated required | boolean (PortalProductVersionDeprecated) Whether the api product version on the portal is deprecated |
{- "product_version_id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "auth_strategy_ids": [
- "44f8380e-7798-4566-99e3-2edf2b57d289"
], - "publish_status": "published",
- "application_registration_enabled": true,
- "auto_approve_registration": true,
- "deprecated": false
}{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "publish_status": "published",
- "product_version_id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "auth_strategies": [
- {
- "id": "44f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "key auth strategy",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}
], - "application_registration_enabled": true,
- "auto_approve_registration": true,
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Get a portal product version
| productVersionId required | string <uuid> (schemas-UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 API product version identifier |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "publish_status": "published",
- "product_version_id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "auth_strategies": [
- {
- "id": "44f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "key auth strategy",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}
], - "application_registration_enabled": true,
- "auto_approve_registration": true,
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Update a portal product version
| productVersionId required | string <uuid> (schemas-UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 API product version identifier |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| publish_status | string (PortalProductVersionPublishStatus) Enum: "published" "unpublished" Publication status of the API product version on the portal |
| auth_strategy_ids | Array of strings <uuid> (AuthStrategyIDs) [ 0 .. 1 ] items A list of authentication strategy IDs |
| application_registration_enabled | boolean (ApplicationRegistrationEnabled) Whether the application registration on this portal for the api product version is enabled |
| auto_approve_registration | boolean (AutoApproveRegistration) Whether the application registration auto approval on this portal for the api product version is enabled |
| deprecated | boolean (PortalProductVersionDeprecated) Whether the api product version on the portal is deprecated |
| notify_developers | boolean (NotifyDevelopers) Whether to notify developers who are affected by this change |
{- "auto_approve_registration": false
}{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "publish_status": "published",
- "product_version_id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "auth_strategies": [
- {
- "id": "44f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "key auth strategy",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}
], - "application_registration_enabled": true,
- "auto_approve_registration": true,
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Replace a portal product version
| productVersionId required | string <uuid> (schemas-UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 API product version identifier |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
| publish_status required | string (PortalProductVersionPublishStatus) Enum: "published" "unpublished" Publication status of the API product version on the portal |
| auth_strategy_ids required | Array of strings <uuid> (AuthStrategyIDs) [ 0 .. 1 ] items A list of authentication strategy IDs |
| application_registration_enabled required | boolean (ApplicationRegistrationEnabled) Whether the application registration on this portal for the api product version is enabled |
| auto_approve_registration required | boolean (AutoApproveRegistration) Whether the application registration auto approval on this portal for the api product version is enabled |
| deprecated required | boolean (PortalProductVersionDeprecated) Whether the api product version on the portal is deprecated |
| notify_developers | boolean (NotifyDevelopers) Whether to notify developers who are affected by this change |
{- "auth_strategy_ids": [
- "44f8380e-7798-4566-99e3-2edf2b57d289"
], - "publish_status": "published",
- "application_registration_enabled": true,
- "auto_approve_registration": true,
- "deprecated": false
}{- "id": "22f8380e-7798-4566-99e3-2edf2b57d289",
- "publish_status": "published",
- "product_version_id": "33f8380e-7798-4566-99e3-2edf2b57d289",
- "auth_strategies": [
- {
- "id": "44f8380e-7798-4566-99e3-2edf2b57d289",
- "name": "key auth strategy",
- "credential_type": "key_auth",
- "key_names": [
- "apikey"
]
}
], - "application_registration_enabled": true,
- "auto_approve_registration": true,
- "deprecated": false,
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}Delete a portal product version
| productVersionId required | string <uuid> (schemas-UUID) Example: 5f9fd312-a987-4628-b4c5-bb4f4fddd5f7 API product version identifier |
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Returns an array of serverless cloud gateways objects.
| 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[number] | integer Example: page[number]=1 Determines which page of the entities to retrieve. |
| labels | string Example: labels=filter[labels][eq]=env:prod Filter serverless cloud gateways in the response by associated labels. |
{- "meta": {
- "page": {
- "total": 2,
- "size": 100,
- "number": 1
}
}, - "data": [
- {
- "control_plane": {
- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "prefix": "518da50bf7",
- "region": "eu"
}, - "gateway_endpoint": "kong-518da50bf7euab123.kongcloud.dev",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z",
- "labels": {
- "env": "prod"
}
}, - {
- "control_plane": {
- "id": "7f9fd312-a987-4628-b4c5-bb4f4fddd5f7",
- "prefix": "628pl51cg1",
- "region": "eu"
}, - "gateway_endpoint": "kong-628pl51cg1euab123.kongcloud.dev",
- "created_at": "2023-12-04T20:10:06.927Z",
- "updated_at": "2024-09-01T21:10:06.927Z",
- "labels": {
- "env": "test"
}
}
]
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Create a new serverless cloud gateway
required | object (Control plane) |
| cluster_cert required | string The cluster certificate (public key). |
| cluster_cert_key required | string The cluster certificate key (private key). |
object (Labels) Labels to facilitate tagged search on serverless cloud gateways. Keys must be of length 1-63 characters, and cannot start with 'kong', 'konnect', 'mesh', 'kic', or '_'. |
{- "control_plane": {
- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "prefix": "518da50bf7",
- "region": "eu"
}, - "cluster_cert": "-----BEGIN CERTIFICATE----- MIICRDCCAa2gAwIBAgIBADANBgkqhkiG9w0BAQ0FADA/MQswCQYDVQQGEwJ1czEL MAkGA1UECAwCVFgxDTALBgNVBAoMBFRlc3QxFDASBgNVBAMMC2V4YW1wbGUuY29t MB4XDTI0MDQyNjA5NTA1OVoXDTI1MDQyNjA5NTA1OVowPzELMAkGA1UEBhMCdXMx CzAJBgNVBAgMAlRYMQ0wCwYDVQQKDARUZXN0MRQwEgYDVQQDDAtleGFtcGxlLmNv bTCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA8FaJZmPsthBT1XkTyqUJiuQV 4p4KaLpNMioNQtIdeGKFXelmZlVfW0bfLGBgFmkwo19KIzFtOlITUjb0Qqlub2Dn TIPoDs7rXA8aw6umJu73Z6647U3+alxNCpwTuYOY2CJQ+HWEIuOuwAdtQkndEp9r 7ZWA2xLatQKBYEvEmykCAwEAAaNQME4wHQYDVR0OBBYEFGUznNeZK74vlA4bqKHb 706tyMwcMB8GA1UdIwQYMBaAFGUznNeZK74vlA4bqKHb706tyMwcMAwGA1UdEwQF MAMBAf8wDQYJKoZIhvcNAQENBQADgYEARmnu/2vUcmJYLlg86MN0prXGC3CGXsem fDtPF4SBPxfchdG7HJKywTloIiCBKGEQALkCHiJcQJNcSHmzH3/Qk+SrOJNH01gt HsKA4SNFJZR5fCRpT6USCukyE2Wlr+PWPscrFCWbLXhK4Ql/t0oog1255B10HqKk 1qDkNrzCd/o= -----END CERTIFICATE-----\n",
- "cluster_cert_key": "-----BEGIN PRIVATE KEY----- MIICeAIBADANBgkqhkiG9w0BAQEFAASCAmIwggJeAgEAAoGBAPBWiWZj7LYQU9V5 E8qlCYrkFeKeCmi6TTIqDULSHXhihV3pZmZVX1tG3yxgYBZpMKNfSiMxbTpSE1I2 9EKpbm9g50yD6A7O61wPGsOrpibu92euuO1N/mpcTQqcE7mDmNgiUPh1hCLjrsAH bUJJ3RKfa+2VgNsS2rUCgWBLxJspAgMBAAECgYEAvA7qqozL/1ZdUu/P1cQ36E86 9L03ZeVJXFRdVgj2eGqW8vob3z00RUb6gE3VQhQDNALvDwSw9G6eoblQfgz31Hju sb+j6bGOm2BqzYrx6rpcgme7k9ScV0tEbtiBNX0E/ToHvNywHtdOBvDocN2wh42Z 6bS9um51H+SXR036mgUCQQD4T7WrJHL97Hj8TtHnTw895xWKaGn94H7ZQa2lo1nk 7CQ4Oi8rFX5tDdyV7UU6fekBWuhpmIhSGJhyHD7UThBjAkEA98ef9ey2Qx+j+R8S tgpgJAF3LVNJJicEHCS/Vltgc84X/vidVAMa2+TYPxPrrUjxBr0STCeB5wZhvvsB D8cOAwJBAJ5JqaQPUx1dDe7Ai/vooO20Dj4xu0c0QYha3sfU7qwIgDo7lO/g/ruj 93a3TscvlkXf3oHZ0ySKOzual86ciMMCQQDGOLgaWHVy+4QFTzt70I8bHuUFqKRT VlEuZqN/ZXijDFQcES5jwFwjYE8zHy+ioEDaIDXcIJsGhA98Zndx9M+bAkA4IFdx 4YIDhuk1MJAYPqVQs5szEF/0BGymLNVYlIox48bZg+TH3uXwTVRVySxvpRa8dd3O 0gHs3EIV6GFUl7ev -----END PRIVATE KEY-----\n",
- "labels": {
- "test": "true"
}
}{- "control_plane": {
- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "prefix": "518da50bf7",
- "region": "eu"
}, - "gateway_endpoint": "kong-518da50bf7euab123.kongcloud.dev",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Get the serverless cloud gateway
| controlPlaneId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Serverless Cloud Gateway control plane |
{- "control_plane": {
- "id": "d32d905a-ed33-46a3-a093-d8f536af9a8a",
- "prefix": "518da50bf7",
- "region": "eu"
}, - "gateway_endpoint": "kong-518da50bf7euab123.kongcloud.dev",
- "created_at": "2022-11-04T20:10:06.927Z",
- "updated_at": "2022-11-04T20:10:06.927Z"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Delete the serverless cloud gateway
| controlPlaneId required | string <uuid> Example: bf138ba2-c9b1-4229-b268-04d9d8a6410b Id of the Serverless Cloud Gateway control plane |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Retrieve the expected config hash for this control plane. The expected config hash can be used to verify if the config hash of a data plane node is up to date with the control plane. The config hash will be the same if they are in sync.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "expected_hash": "string",
- "created_at": 0,
- "updated_at": 0
}Returns a list of data plane node records that are associated to this control plane. A data plane node record contains metadata information for the data plane running Kong Gateway.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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. |
{- "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": 0,
- "next": "string"
}
}Retrieve a specific data plane node record associated to this control plane. A data plane node record contains all the metadata information of the Kong Gateway dataplane.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| nodeId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Node identifier |
| 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 data plane node record associated to this control plane. Deleting this record does not prevent the data plane node from re-connecting to the control plane.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| nodeId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Node identifier |
Returns a list of records of data plane nodes, whose versions are approaching End of Full Support/End of Life, that are associated with this control plane. Each record contains a data plane node's id, version, and corresponding resolution message to upgrade to the closest Long Term Support version.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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. |
{- "items": [
- {
- "node_id": "string",
- "node_version": "string",
- "message": "string"
}
], - "page": {
- "total": 0
}
}Returns a list of pinned dataplane client certificates that are associated to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "items": [
- {
- "id": "string",
- "created_at": 0,
- "updated_at": 0,
- "cert": "string"
}
], - "page": {
- "total": 0
}
}Pin a new DP Client Certificate to this control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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 control plane. A pinned dataplane certificate allows dataplanes configured with the certificate and corresponding private key to establish connection with this control plane.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| certificateId required | string |
{- "item": {
- "id": "string",
- "created_at": 0,
- "updated_at": 0,
- "cert": "string"
}
}Remove a pinned dataplane client certificate associated to this control plane. Removing a pinned dataplane certificate would invalidate any dataplanes currently connected to this control plane using this certificate.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| certificateId required | string |
Returns an array of custom plugins schemas associated with a control plane.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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. |
{- "items": [
- {
- "lua_schema": "return { name = \\\"myplugin\\\", fields = { { config = { type = \\\"record\\\", fields = { } } } } }",
- "name": "myplugin",
- "created_at": 1422386534,
- "updated_at": 1422412345
}
], - "page": {
- "total": 0
}
}Upload a custom plugin schema associated with a control plane.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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
}
}| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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. |
{- "data": [
- {
- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "Config Store",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "size": 1,
- "previous": null,
- "next": "/config-stores?page[after]=dXVpZC01"
}
}
}Create a Config Store
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| name | string [ 1 .. 100 ] characters |
{- "name": "Config Store"
}{- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "Config Store",
- "created_at": "2024-01-01T00:00:00.000Z",
- "updated_at": "2024-01-01T00:00:00.000Z"
}Returns a Config Store
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
{- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "Config Store",
- "created_at": "2024-01-01T00:00:00.000Z",
- "updated_at": "2024-01-01T00:00:00.000Z"
}Updates a Config Store
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
| name | string [ 1 .. 100 ] characters |
{- "name": "Config Store with Updated Name"
}{- "id": "e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee",
- "name": "Config Store",
- "created_at": "2024-01-01T00:00:00.000Z",
- "updated_at": "2024-01-01T00:00:00.000Z"
}Removes a config store
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
| force | string Default: "false" Enum: "true" "false" If true, delete specified config store and all secrets, even if there are secrets linked to the config store If false, do not allow deletion if there are secrets linked to the config store |
{- "status": 400,
- "title": "Invalid Request",
- "instance": "kong:trace:1433447772874964729",
- "detail": "Invalid Parameters",
- "invalid_parameters": [
- {
- "field": "force",
- "rule": "required",
- "reason": "This Config Store has 4 secrets. These must be individually removed before deletion or the force=true query param can be used to automatically delete associated entities.”",
- "source": "query"
}
]
}Creates a secret for a Config Store.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
| key required | string [ 1 .. 512 ] characters |
| value required | string [ 1 .. 5120 ] characters |
{- "key": "ConfigStoreSecretKey",
- "value": "ConfigStoreSecretValue"
}{- "key": "ConfigStoreSecretKey",
- "value": "ConfigStoreSecretValue",
- "created_at": "2024-01-01T00:00:00.000Z",
- "updated_at": "2024-01-01T00:00:00.000Z"
}Returns a collection of all secrets for a Config Store.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
| 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. |
{- "data": [
- {
- "key": "ConfigStoreSecretKey",
- "value": "ConfigStoreSecretValue",
- "created_at": "2023-01-01T00:00:00.000Z",
- "updated_at": "2023-01-01T00:00:00.000Z"
}
], - "meta": {
- "page": {
- "size": 1,
- "previous": null,
- "next": "/config-stores/e7a4f6c0-5777-4a37-bcb9-2d37d3b362ee/secrets?page[after]=dXVpZC01"
}
}
}Returns a secret for the Config Store.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
| key required | string Example: ConfigStoreSecretKey Config Store Secret key |
{- "key": "ConfigStoreSecretKey",
- "value": "ConfigStoreSecretValue",
- "created_at": "2024-01-01T00:00:00.000Z",
- "updated_at": "2024-01-01T00:00:00.000Z"
}Updates a secret for a Config Store.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
| key required | string Example: ConfigStoreSecretKey Config Store Secret key |
| value required | string [ 1 .. 5120 ] characters |
{- "value": "ConfigStoreSecretValue"
}{- "key": "ConfigStoreSecretKey",
- "value": "ConfigStoreSecretValue",
- "created_at": "2024-01-01T00:00:00.000Z",
- "updated_at": "2024-01-01T00:00:00.000Z"
}Removes a secret from a Config Store.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| configStoreId required | string <uuid> Example: d32d905a-ed33-46a3-a093-d8f536af9a8a Config Store identifier |
| key required | string Example: ConfigStoreSecretKey Config Store Secret key |
{- "status": 401,
- "title": "Unauthorized",
- "instance": "kong:trace:8347343766220159418",
- "detail": "Unauthorized"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
List all CustomPlugins
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "handler": "return { VERSION = '1.0,0', PRIORITY = 500, access = function(self, config) kong.service.request.set_header(config.name, config.value) end }",
- "id": "868346aa-1105-4b77-8346-aa1105fb77c4",
- "name": "set-header",
- "schema": "return { name = 'set-header', fields = { { protocols = require('kong.db.schema.typedefs').protocols_http }, { config = { type = 'record', fields = { { name = { description = 'The name of the header to set.', type = 'string', required = true } }, { value = { description = 'The value for the header.', type = 'string', required = true } } } } } } }"
}
], - "next": "string",
- "offset": "string"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Create a new CustomPlugin
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new CustomPlugin for creation
| created_at | integer or null Unix epoch when the resource was created. |
| handler required | string |
| id | string or null |
| name required | string |
| schema required | string |
| tags | Array of strings |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "handler": "return { VERSION = '1.0,0', PRIORITY = 500, access = function(self, config) kong.service.request.set_header(config.name, config.value) end }",
- "id": "868346aa-1105-4b77-8346-aa1105fb77c4",
- "name": "set-header",
- "schema": "return { name = 'set-header', fields = { { protocols = require('kong.db.schema.typedefs').protocols_http }, { config = { type = 'record', fields = { { name = { description = 'The name of the header to set.', type = 'string', required = true } }, { value = { description = 'The value for the header.', type = 'string', required = true } } } } } } }"
}{- "handler": "return { VERSION = '1.0,0', PRIORITY = 500, access = function(self, config) kong.service.request.set_header(config.name, config.value) end }",
- "id": "868346aa-1105-4b77-8346-aa1105fb77c4",
- "name": "set-header",
- "schema": "return { name = 'set-header', fields = { { protocols = require('kong.db.schema.typedefs').protocols_http }, { config = { type = 'record', fields = { { name = { description = 'The name of the header to set.', type = 'string', required = true } }, { value = { description = 'The value for the header.', type = 'string', required = true } } } } } } }"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Delete a CustomPlugin
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CustomPluginId required | string ID of the CustomPlugin to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Get a CustomPlugin using ID or name.
| CustomPluginId required | string ID of the CustomPlugin to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "handler": "return { VERSION = '1.0,0', PRIORITY = 500, access = function(self, config) kong.service.request.set_header(config.name, config.value) end }",
- "id": "868346aa-1105-4b77-8346-aa1105fb77c4",
- "name": "set-header",
- "schema": "return { name = 'set-header', fields = { { protocols = require('kong.db.schema.typedefs').protocols_http }, { config = { type = 'record', fields = { { name = { description = 'The name of the header to set.', type = 'string', required = true } }, { value = { description = 'The value for the header.', type = 'string', required = true } } } } } } }"
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Create or Update CustomPlugin using ID or name.
| CustomPluginId required | string ID of the CustomPlugin to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the CustomPlugin
| created_at | integer or null Unix epoch when the resource was created. |
| handler required | string |
| id | string or null |
| name required | string |
| schema required | string |
| tags | Array of strings |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "handler": "return { VERSION = '1.0,0', PRIORITY = 500, access = function(self, config) kong.service.request.set_header(config.name, config.value) end }",
- "id": "868346aa-1105-4b77-8346-aa1105fb77c4",
- "name": "set-header",
- "schema": "return { name = 'set-header', fields = { { protocols = require('kong.db.schema.typedefs').protocols_http }, { config = { type = 'record', fields = { { name = { description = 'The name of the header to set.', type = 'string', required = true } }, { value = { description = 'The value for the header.', type = 'string', required = true } } } } } } }"
}{- "handler": "return { VERSION = '1.0,0', PRIORITY = 500, access = function(self, config) kong.service.request.set_header(config.name, config.value) end }",
- "id": "868346aa-1105-4b77-8346-aa1105fb77c4",
- "name": "set-header",
- "schema": "return { name = 'set-header', fields = { { protocols = require('kong.db.schema.typedefs').protocols_http }, { config = { type = 'record', fields = { { name = { description = 'The name of the header to set.', type = 'string', required = true } }, { value = { description = 'The value for the header.', type = 'string', required = true } } } } } } }"
}Service entities are abstractions of your microservice interfaces or formal APIs. For example, a service could be a data transformation microservice or a billing API.
The main attribute of a service is the destination URL for proxying traffic. This URL can be set as a single string or by specifying its protocol, host, port and path individually.
Services are associated to routes, and a single service can have many routes associated with it. Routes are entrypoints in Kong Gateway which define rules to match client requests. Once a route is matched, Kong Gateway proxies the request to its associated service. See the Proxy Reference for a detailed explanation of how Kong proxies traffic.
Services can be both tagged and filtered by tags.
List all Services
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "host": "example.internal",
- "id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
- "name": "example-service",
- "path": "/",
- "port": 80,
- "protocol": "http"
}
], - "next": "string",
- "offset": "string"
}Create a new Service
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Service for creation
| ca_certificates | Array of strings or null Array of |
object or null Certificate to be used as client certificate while TLS handshaking to the upstream server. | |
| connect_timeout | integer or null Default: 60000 The timeout in milliseconds for establishing a connection to the upstream server. |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the Service is active. If set to |
| host required | string The host of the upstream server. Note that the host value is case sensitive. |
| id | string or null |
| name | string or null The Service name. |
| path | string or null The path to be used in requests to the upstream server. |
| port | integer or null Default: 80 The upstream server port. |
| protocol | string or null Default: "http" Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" The protocol used to communicate with the upstream. |
| read_timeout | integer or null Default: 60000 The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. |
| retries | integer or null Default: 5 The number of retries to execute upon failure to proxy. |
| tags | Array of strings An optional set of strings associated with the Service for grouping and filtering. |
| tls_verify | boolean or null Whether to enable verification of upstream server TLS certificate. If set to |
| tls_verify_depth | integer or null Maximum depth of chain while verifying Upstream server's TLS certificate. If set to |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| url | string Helper field to set |
| write_timeout | integer or null Default: 60000 The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. |
{- "host": "example.internal",
- "id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
- "name": "example-service",
- "path": "/",
- "port": 80,
- "protocol": "http"
}{- "host": "example.internal",
- "id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
- "name": "example-service",
- "path": "/",
- "port": 80,
- "protocol": "http"
}Delete a Service
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Service using ID or name.
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "host": "example.internal",
- "id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
- "name": "example-service",
- "path": "/",
- "port": 80,
- "protocol": "http"
}Create or Update Service using ID or name.
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Service
| ca_certificates | Array of strings or null Array of |
object or null Certificate to be used as client certificate while TLS handshaking to the upstream server. | |
| connect_timeout | integer or null Default: 60000 The timeout in milliseconds for establishing a connection to the upstream server. |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the Service is active. If set to |
| host required | string The host of the upstream server. Note that the host value is case sensitive. |
| id | string or null |
| name | string or null The Service name. |
| path | string or null The path to be used in requests to the upstream server. |
| port | integer or null Default: 80 The upstream server port. |
| protocol | string or null Default: "http" Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" The protocol used to communicate with the upstream. |
| read_timeout | integer or null Default: 60000 The timeout in milliseconds between two successive read operations for transmitting a request to the upstream server. |
| retries | integer or null Default: 5 The number of retries to execute upon failure to proxy. |
| tags | Array of strings An optional set of strings associated with the Service for grouping and filtering. |
| tls_verify | boolean or null Whether to enable verification of upstream server TLS certificate. If set to |
| tls_verify_depth | integer or null Maximum depth of chain while verifying Upstream server's TLS certificate. If set to |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| url | string Helper field to set |
| write_timeout | integer or null Default: 60000 The timeout in milliseconds between two successive write operations for transmitting a request to the upstream server. |
{- "host": "example.internal",
- "id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
- "name": "example-service",
- "path": "/",
- "port": 80,
- "protocol": "http"
}{- "host": "example.internal",
- "id": "49fd316e-c457-481c-9fc7-8079153e4f3c",
- "name": "example-service",
- "path": "/",
- "port": 80,
- "protocol": "http"
}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 the associated service. You need at least one matching rule that applies to the protocol being matched by the route.
The combination of routes and services, and the separation of concerns between them, offers a powerful routing mechanism with which it is possible to define fine-grained entrypoints in Kong Gateway leading to different upstream services of your infrastructure.
Depending on the protocol, one of the following attributes must be set:
http: At least one of methods, hosts, headers, or pathshttps: At least one of methods, hosts, headers, paths, or snistcp: At least one of sources or destinationstls: at least one of sources, destinations, or snistls_passthrough: set snisgrpc: At least one of hosts, headers, or pathsgrpcs: At least one of hosts, headers, paths, or snisws: At least one of hosts, headers, or pathswss: At least one of hosts, headers, paths, or snisList all Routes
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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"
}
}
], - "next": "string",
- "offset": "string"
}Create a new Route
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Route for creation
| created_at | integer or null Unix epoch when the resource was created. |
Array of objects or null 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". | |
object or null One or more lists of values indexed by header name that will cause this Route to match if present in the request. The | |
| hosts | Array of strings or null A list of domain names that match this Route. Note that the hosts value is case sensitive. |
| https_redirect_status_code | integer or null 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 |
| id | string or null |
| methods | Array of strings or null A list of HTTP methods that match this Route. |
| name | string or null 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". |
| path_handling | string or null Default: "v0" Enum: "v0" "v1" Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior. |
| paths | Array of strings or null A list of paths that match this Route. |
| preserve_host | boolean or null Default: false When matching a Route via one of the |
| protocols | Array of strings or null Default: ["http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" An array of the protocols this Route should allow. See the Route Object section for a list of accepted protocols. When set to only |
| regex_priority | integer or null 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 |
| request_buffering | boolean or null 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. |
| response_buffering | boolean or null 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. |
object or null The Service this Route is associated to. This is where the Route proxies traffic to. | |
| snis | Array of strings or null A list of SNIs that match this Route when using stream routing. |
Array of objects or null 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". | |
| strip_path | boolean or null Default: true When matching a Route via one of the |
| tags | Array of strings An optional set of strings associated with the Route for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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"
}
}{- "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"
}
}Delete a Route
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Route using ID or name.
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "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.
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Route
| created_at | integer or null Unix epoch when the resource was created. |
Array of objects or null 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". | |
object or null One or more lists of values indexed by header name that will cause this Route to match if present in the request. The | |
| hosts | Array of strings or null A list of domain names that match this Route. Note that the hosts value is case sensitive. |
| https_redirect_status_code | integer or null 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 |
| id | string or null |
| methods | Array of strings or null A list of HTTP methods that match this Route. |
| name | string or null 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". |
| path_handling | string or null Default: "v0" Enum: "v0" "v1" Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior. |
| paths | Array of strings or null A list of paths that match this Route. |
| preserve_host | boolean or null Default: false When matching a Route via one of the |
| protocols | Array of strings or null Default: ["http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" An array of the protocols this Route should allow. See the Route Object section for a list of accepted protocols. When set to only |
| regex_priority | integer or null 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 |
| request_buffering | boolean or null 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. |
| response_buffering | boolean or null 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. |
object or null The Service this Route is associated to. This is where the Route proxies traffic to. | |
| snis | Array of strings or null A list of SNIs that match this Route when using stream routing. |
Array of objects or null 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". | |
| strip_path | boolean or null Default: true When matching a Route via one of the |
| tags | Array of strings An optional set of strings associated with the Route for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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"
}
}{- "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 Service
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| 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"
}
}
], - "next": "string",
- "offset": "string"
}Create a new Route associated with a Service
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
Description of new Route for creation
| created_at | integer or null Unix epoch when the resource was created. |
Array of objects or null 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". | |
object or null One or more lists of values indexed by header name that will cause this Route to match if present in the request. The | |
| hosts | Array of strings or null A list of domain names that match this Route. Note that the hosts value is case sensitive. |
| https_redirect_status_code | integer or null 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 |
| id | string or null |
| methods | Array of strings or null A list of HTTP methods that match this Route. |
| name | string or null 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". |
| path_handling | string or null Default: "v0" Enum: "v0" "v1" Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior. |
| paths | Array of strings or null A list of paths that match this Route. |
| preserve_host | boolean or null Default: false When matching a Route via one of the |
| protocols | Array of strings or null Default: ["http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" An array of the protocols this Route should allow. See the Route Object section for a list of accepted protocols. When set to only |
| regex_priority | integer or null 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 |
| request_buffering | boolean or null 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. |
| response_buffering | boolean or null 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. |
object or null The Service this Route is associated to. This is where the Route proxies traffic to. | |
| snis | Array of strings or null A list of SNIs that match this Route when using stream routing. |
Array of objects or null 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". | |
| strip_path | boolean or null Default: true When matching a Route via one of the |
| tags | Array of strings An optional set of strings associated with the Route for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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"
}
}{- "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"
}
}Delete a a Route associated with a Service using ID or name.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
Get a Route associated with a Service using ID or name.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
{- "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.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
Description of the Route
| created_at | integer or null Unix epoch when the resource was created. |
Array of objects or null 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". | |
object or null One or more lists of values indexed by header name that will cause this Route to match if present in the request. The | |
| hosts | Array of strings or null A list of domain names that match this Route. Note that the hosts value is case sensitive. |
| https_redirect_status_code | integer or null 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 |
| id | string or null |
| methods | Array of strings or null A list of HTTP methods that match this Route. |
| name | string or null 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". |
| path_handling | string or null Default: "v0" Enum: "v0" "v1" Controls how the Service path, Route path and requested path are combined when sending a request to the upstream. See above for a detailed description of each behavior. |
| paths | Array of strings or null A list of paths that match this Route. |
| preserve_host | boolean or null Default: false When matching a Route via one of the |
| protocols | Array of strings or null Default: ["http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" An array of the protocols this Route should allow. See the Route Object section for a list of accepted protocols. When set to only |
| regex_priority | integer or null 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 |
| request_buffering | boolean or null 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. |
| response_buffering | boolean or null 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. |
object or null The Service this Route is associated to. This is where the Route proxies traffic to. | |
| snis | Array of strings or null A list of SNIs that match this Route when using stream routing. |
Array of objects or null 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". | |
| strip_path | boolean or null Default: true When matching a Route via one of the |
| tags | Array of strings An optional set of strings associated with the Route for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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"
}
}{- "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"
}
}A plugin entity represents a plugin configuration that will be executed during the HTTP request/response lifecycle. Plugins let you add functionality to services that run behind a Kong Gateway instance, like authentication or rate limiting.
You can find more information about available plugins and which values each plugin accepts at the Plugin Hub.
When adding a plugin configuration to a service, the plugin will run on every request made by a client to that service. If a plugin needs to be tuned to different values for some specific consumers, you can do so by creating a separate plugin instance that specifies both the service and the consumer, through the service and consumer fields.
Plugins can be both tagged and filtered by tags.
List all Plugins associated with a Consumer Group
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
| 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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
], - "next": "string",
- "offset": "string"
}Create a new Plugin associated with a Consumer Group
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
Description of new Plugin for creation
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Delete a a Plugin associated with a Consumer Group using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Get a Plugin associated with a Consumer Group using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Create or Update a Plugin associated with a Consumer Group using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Description of the Plugin
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}List all Plugins associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| 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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
], - "next": "string",
- "offset": "string"
}Create a new Plugin associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
Description of new Plugin for creation
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Delete a a Plugin associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Get a Plugin associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Create or Update a Plugin associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Description of the Plugin
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}List all Plugins
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
], - "next": "string",
- "offset": "string"
}Create a new Plugin
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Plugin for creation
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Delete a Plugin
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Plugin using ID.
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Create or Update Plugin using ID.
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Plugin
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}List all Plugins associated with a Route
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
| 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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
], - "next": "string",
- "offset": "string"
}Create a new Plugin associated with a Route
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
Description of new Plugin for creation
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Delete a a Plugin associated with a Route using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Get a Plugin associated with a Route using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Create or Update a Plugin associated with a Route using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| RouteId required | string Example: a4326a41-aa12-44e3-93e4-6b6e58bfb9d7 ID of the Route to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Description of the Plugin
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Get the schema for a plugin
| pluginName required | string The name of the plugin |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "fields": [
- { }
]
}List all Plugins associated with a Service
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| 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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}
], - "next": "string",
- "offset": "string"
}Create a new Plugin associated with a Service
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
Description of new Plugin for creation
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Delete a a Plugin associated with a Service using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Get a Plugin associated with a Service using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}Create or Update a Plugin associated with a Service using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ServiceId required | string Example: 7fca84d6-7d37-4a74-a7b0-93e576089a41 ID of the Service to lookup |
| PluginId required | string Example: 3473c251-5b6c-4f45-b1ff-7ede735a366d ID of the Plugin to lookup |
Description of the Plugin
object or null The configuration properties for the Plugin which can be found on the plugins documentation page in the Kong Hub. | |
object or null If set, the plugin will activate only for requests where the specified has been authenticated. (Note that some plugins can not be restricted to consumers this way.). Leave unset for the plugin to activate regardless of the authenticated Consumer. | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| enabled | boolean or null Default: true Whether the plugin is applied. |
| id | string or null |
| instance_name | string or null |
| name required | string The name of the Plugin that's going to be added. Currently, the Plugin must be installed in every Kong instance separately. |
object or null | |
Array of objects or null | |
| protocols | Array of strings or null Default: ["grpc","grpcs","http","https"] Enum: "grpc" "grpcs" "http" "https" "tcp" "tls" "tls_passthrough" "udp" "ws" "wss" A list of the request protocols that will trigger this plugin. The default value, as well as the possible values allowed on this field, may change depending on the plugin type. For example, plugins that only work in stream mode will only support |
object or null 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. | |
object or null If set, the plugin will only activate when receiving requests via one of the routes belonging to the specified Service. Leave unset for the plugin to activate regardless of the Service being matched. | |
| tags | Array of strings An optional set of strings associated with the Plugin for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}{- "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",
- "partials": [
- {
- "id": "cff1230a-00f7-4ae8-b376-c370f0eb4dae",
- "name": "foo-partial",
- "path": "config.redis"
}, - {
- "id": "129ee345-cba8-4e55-9d6d-93c223ff91ae",
- "name": "bar-partial",
- "path": "config.redis"
}
], - "protocols": [
- "grpc",
- "grpcs",
- "http",
- "https"
]
}The consumer object represents a consumer - or a user - of a service. You can either rely on Kong Gateway as the primary datastore, or you can map the consumer list with your database to keep consistency between Kong Gateway and your existing primary datastore.
List all Consumers
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}
], - "next": "string",
- "offset": "string"
}Create a new Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Consumer for creation
| username required | string or null The unique username of the Consumer. You must send either this field or |
| custom_id required | string or null 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 |
| type required | string |
| tags required | Array of strings (Tags) unique |
| consumer_groups required | Array of strings (ConsumerGroups) [ items unique ] |
{- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}{- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}Delete a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerId required | string Example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 ID of the Consumer to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Consumer using ID or username.
| ConsumerId required | string Example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 ID of the Consumer to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}Create or Update Consumer using ID or username.
| ConsumerId required | string Example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 ID of the Consumer to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Consumer
| username required | string or null The unique username of the Consumer. You must send either this field or |
| custom_id required | string or null 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 |
| type required | string |
| tags required | Array of strings (Tags) unique |
| consumer_groups required | Array of strings (ConsumerGroups) [ items unique ] |
{- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}{- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}Consumer groups enable the organization and categorization of consumers (users or applications) within an API ecosystem. By grouping consumers together, you eliminate the need to manage them individually, providing a scalable, efficient approach to managing configurations.
List all Consumer Groups
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}
], - "next": "string",
- "offset": "string"
}Create a new Consumer Group
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Consumer Group for creation
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| name required | string |
| tags | Array of strings |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}{- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}Delete a Consumer Group
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Consumer Group using ID.
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "consumer_group": {
- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}
}Create or Update Consumer Group using ID.
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Consumer Group
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| name required | string |
| tags | Array of strings |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}{- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}Pre-release Endpoint This endpoint is currently in beta and is subject to change.
Removes all consumers from a consumer groups. This operation does not delete the consumer group.
| ConsumerGroupId required | string |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
List all consumers in a consumer group
| ConsumerGroupId required | string |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}
], - "next": "string",
- "offset": "string"
}Add a consumer to a consumer group
| ConsumerGroupId required | string |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| consumer | string |
{- "consumer": "cf4c7e60-11db-49dd-b300-7c7e5f0f7e6b"
}{- "consumer_group": {
- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}, - "consumers": [
- {
- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}
]
}Remove a consumer from a consumer group
| ConsumerGroupId required | string |
| ConsumerId required | string |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Removes a consumer from all consumer groups. This operation does not delete the consumer group.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerId required | string Example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 ID of the Consumer to lookup |
List all Consumer Groups a Consumer belongs to
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerId required | string Example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 ID of the Consumer to lookup |
| 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": [
- {
- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}
], - "next": "string",
- "offset": "string"
}Add a consumer to a consumer group
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerId required | string Example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 ID of the Consumer to lookup |
| group | string |
{- "group": "fedee695-2ae2-4e45-877a-776d9b2fc793"
}{- "consumer": {
- "custom_id": "4200",
- "id": "8a388226-80e8-4027-a486-25e4f7db5d21",
- "tags": [
- "silver-tier"
], - "username": "bob-the-builder"
}, - "consumer_groups": [
- {
- "created_at": 0,
- "id": "string",
- "name": "string",
- "tags": [
- "string"
], - "updated_at": 0
}
]
}Removes a consumer from a consumer group. This operation does not delete the consumer group.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerId required | string Example: c1059869-6fa7-4329-a5f5-5946d14ca2c5 ID of the Consumer to lookup |
| ConsumerGroupId required | string ID of the Consumer Group to lookup |
A certificate object represents a public certificate, and can be optionally paired with the corresponding private key. These objects are used by Kong Gateway to handle SSL/TLS termination for encrypted requests, or for use as a trusted CA store when validating peer certificate of client/service.
Certificates are optionally associated with SNI objects to tie a cert/key pair to one or more hostnames.
If intermediate certificates are required in addition to the main certificate, they should be concatenated together into one string.
List all Certificates
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "-----BEGIN PRIVATE KEY-----\nprivate-key-content\n-----END PRIVATE KEY-----"
}
], - "next": "string",
- "offset": "string"
}Create a new Certificate
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Certificate for creation
| cert required | string PEM-encoded public certificate chain of the SSL key pair. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| cert_alt | string or null PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| key required | string PEM-encoded private key of the SSL key pair. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| key_alt | string or null PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| snis | Array of strings or null |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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-----"
}{- "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-----"
}Delete a Certificate
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Certificate using ID.
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "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-----"
}Create or Update Certificate using ID.
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Certificate
| cert required | string PEM-encoded public certificate chain of the SSL key pair. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| cert_alt | string or null PEM-encoded public certificate chain of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| key required | string PEM-encoded private key of the SSL key pair. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| key_alt | string or null PEM-encoded private key of the alternate SSL key pair. This should only be set if you have both RSA and ECDSA types of certificate available and would like Kong to prefer serving using ECDSA certs when client advertises support for it. This field is referenceable, which means it can be securely stored as a secret in a vault. References must follow a specific format. |
| snis | Array of strings or null |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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-----"
}{- "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-----"
}An SNI object represents a many-to-one mapping of hostnames to a certificate.
A certificate object can have many hostnames associated with it. When Kong Gateway receives an SSL request, it uses the SNI field in the Client Hello to look up the certificate object based on the SNI associated with the certificate.
List all SNIs associated with a Certificate
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
| 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": [
- {
- "certificate": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}, - "id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "some.example.org"
}
], - "next": "string",
- "offset": "string"
}Create a new SNI associated with a Certificate
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
Description of new SNI for creation
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 or null Unix epoch when the resource was created. |
| id | string or null |
| 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. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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"
}Delete a an SNI associated with a Certificate using ID or name.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
| SNIId required | string Example: 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f ID of the SNI to lookup |
Get an SNI associated with a Certificate using ID or name.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
| SNIId required | string Example: 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f ID of the SNI to lookup |
{- "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.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CertificateId required | string Example: ddf3cdaa-3329-4961-822a-ce6dbd38eff7 ID of the Certificate to lookup |
| SNIId required | string Example: 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f ID of the SNI to lookup |
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 or null Unix epoch when the resource was created. |
| id | string or null |
| 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. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "certificate": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}, - "id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "some.example.org"
}
], - "next": "string",
- "offset": "string"
}Create a new SNI
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new SNI for creation
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. |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| 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. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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"
}Delete an SNI
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| SNIId required | string Example: 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f ID of the SNI to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get an SNI using ID or name.
| SNIId required | string Example: 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f ID of the SNI to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "certificate": {
- "id": "bd380f99-659d-415e-b0e7-72ea05df3218"
}, - "id": "36c4566c-14cc-4132-9011-4139fcbbe50a",
- "name": "some.example.org"
}Create or Update SNI using ID or name.
| SNIId required | string Example: 64c17a1a-b7d7-4a65-a5a4-42e4a7016e7f ID of the SNI to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the SNI
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. |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| 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. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "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"
}A CA certificate object represents a trusted certificate authority. These objects are used by Kong Gateway to verify the validity of a client or server certificate.
List all CA Certificates
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}
], - "next": "string",
- "offset": "string"
}Create a new CA Certificate
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new CA Certificate for creation
| cert required | string PEM-encoded public certificate of the CA. |
| cert_digest | string or null SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed. |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}Delete a CA Certificate
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| CACertificateId required | string Example: 3c31f18a-f27a-4f9b-8cd4-bf841554612f ID of the CA Certificate to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a CA Certificate using ID.
| CACertificateId required | string Example: 3c31f18a-f27a-4f9b-8cd4-bf841554612f ID of the CA Certificate to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}Create or Update CA Certificate using ID.
| CACertificateId required | string Example: 3c31f18a-f27a-4f9b-8cd4-bf841554612f ID of the CA Certificate to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the CA Certificate
| cert required | string PEM-encoded public certificate of the CA. |
| cert_digest | string or null SHA256 hex digest of the public certificate. This field is read-only and it cannot be set by the caller, the value is automatically computed. |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| tags | Array of strings An optional set of strings associated with the Certificate for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}{- "cert": "-----BEGIN CERTIFICATE-----\ncertificate-content\n-----END CERTIFICATE-----",
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}The upstream object represents a virtual hostname and can be used to load balance incoming requests over multiple services (targets).
An upstream also includes a health checker, which can enable and disable targets based on their ability or inability to serve requests.
The configuration for the health checker is stored in the upstream object, and applies to all of its targets.
List all Upstreams
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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
}
], - "next": "string",
- "offset": "string"
}Create a new Upstream
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Upstream for creation
| algorithm | string or null Default: "round-robin" Enum: "consistent-hashing" "least-connections" "round-robin" "latency" Which load balancing algorithm to use. |
object or null If set, the certificate to be used as client certificate while TLS handshaking to the upstream server. | |
| created_at | integer or null Unix epoch when the resource was created. |
| hash_fallback | string or null Default: "none" Enum: "none" "consumer" "ip" "header" "cookie" "path" "query_arg" "uri_capture" What to use as hashing input if the primary |
| hash_fallback_header | string or null The header name to take the value from as hash input. Only required when |
| hash_fallback_query_arg | string or null The name of the query string argument to take the value from as hash input. Only required when |
| hash_fallback_uri_capture | string or null The name of the route URI capture to take the value from as hash input. Only required when |
| hash_on | string or null Default: "none" Enum: "none" "consumer" "ip" "header" "cookie" "path" "query_arg" "uri_capture" What to use as hashing input. Using |
| hash_on_cookie | string or null The cookie name to take the value from as hash input. Only required when |
| hash_on_cookie_path | string or null Default: "/" The cookie path to set in the response headers. Only required when |
| hash_on_header | string or null The header name to take the value from as hash input. Only required when |
| hash_on_query_arg | string or null The name of the query string argument to take the value from as hash input. Only required when |
| hash_on_uri_capture | string or null The name of the route URI capture to take the value from as hash input. Only required when |
object or null | |
| host_header | string or null The hostname to be used as |
| id | string or null |
| name required | string This is a hostname, which must be equal to the |
| slots | integer or null Default: 10000 The number of slots in the load balancer algorithm. If |
| tags | Array of strings An optional set of strings associated with the Upstream for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| use_srv_name | boolean or null Default: false If set, the balancer will use SRV hostname(if DNS Answer has SRV record) as the proxy upstream |
{- "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
}{- "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
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| UpstreamId required | string Example: 426d620c-7058-4ae6-aacc-f85a3204a2c5 ID of the Upstream to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get an Upstream using ID or name.
| UpstreamId required | string Example: 426d620c-7058-4ae6-aacc-f85a3204a2c5 ID of the Upstream to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "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.
| UpstreamId required | string Example: 426d620c-7058-4ae6-aacc-f85a3204a2c5 ID of the Upstream to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Upstream
| algorithm | string or null Default: "round-robin" Enum: "consistent-hashing" "least-connections" "round-robin" "latency" Which load balancing algorithm to use. |
object or null If set, the certificate to be used as client certificate while TLS handshaking to the upstream server. | |
| created_at | integer or null Unix epoch when the resource was created. |
| hash_fallback | string or null Default: "none" Enum: "none" "consumer" "ip" "header" "cookie" "path" "query_arg" "uri_capture" What to use as hashing input if the primary |
| hash_fallback_header | string or null The header name to take the value from as hash input. Only required when |
| hash_fallback_query_arg | string or null The name of the query string argument to take the value from as hash input. Only required when |
| hash_fallback_uri_capture | string or null The name of the route URI capture to take the value from as hash input. Only required when |
| hash_on | string or null Default: "none" Enum: "none" "consumer" "ip" "header" "cookie" "path" "query_arg" "uri_capture" What to use as hashing input. Using |
| hash_on_cookie | string or null The cookie name to take the value from as hash input. Only required when |
| hash_on_cookie_path | string or null Default: "/" The cookie path to set in the response headers. Only required when |
| hash_on_header | string or null The header name to take the value from as hash input. Only required when |
| hash_on_query_arg | string or null The name of the query string argument to take the value from as hash input. Only required when |
| hash_on_uri_capture | string or null The name of the route URI capture to take the value from as hash input. Only required when |
object or null | |
| host_header | string or null The hostname to be used as |
| id | string or null |
| name required | string This is a hostname, which must be equal to the |
| slots | integer or null Default: 10000 The number of slots in the load balancer algorithm. If |
| tags | Array of strings An optional set of strings associated with the Upstream for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| use_srv_name | boolean or null Default: false If set, the balancer will use SRV hostname(if DNS Answer has SRV record) as the proxy upstream |
{- "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
}{- "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
}Vault objects are used to configure different vault connectors for managing secrets.
Configuring a vault lets you reference secrets from other entities.
This allows for a proper separation of secrets and configuration and prevents secret sprawl.
For example, you could store a certificate and a key in a vault, then reference them from a certificate entity. This way, the certificate and key are not stored in the entity directly and are more secure.
Secrets rotation can be managed using TTLs.
List all Vaults
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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",
- "prefix": "env",
- "tags": [
- "foo",
- "bar"
]
}
], - "next": "string",
- "offset": "string"
}Create a new Vault
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Vault for creation
required | object The configuration properties for the Vault which can be found on the vaults' documentation page. |
| created_at | integer or null Unix epoch when the resource was created. |
| description | string or null The description of the Vault entity. |
| id | string or null |
| name required | string The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance. |
| prefix required | 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. |
| tags | Array of strings An optional set of strings associated with the Vault for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "prefix": "env",
- "tags": [
- "foo",
- "bar"
]
}{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "prefix": "env",
- "tags": [
- "foo",
- "bar"
]
}Delete a Vault
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| VaultId required | string Example: 9d4d6d19-77c6-428e-a965-9bc9647633e9 ID of the Vault to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Vault using ID or prefix.
| VaultId required | string Example: 9d4d6d19-77c6-428e-a965-9bc9647633e9 ID of the Vault to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "prefix": "env",
- "tags": [
- "foo",
- "bar"
]
}Create or Update Vault using ID or prefix.
| VaultId required | string Example: 9d4d6d19-77c6-428e-a965-9bc9647633e9 ID of the Vault to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Vault
required | object The configuration properties for the Vault which can be found on the vaults' documentation page. |
| created_at | integer or null Unix epoch when the resource was created. |
| description | string or null The description of the Vault entity. |
| id | string or null |
| name required | string The name of the Vault that's going to be added. Currently, the Vault implementation must be installed in every Kong instance. |
| prefix required | 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. |
| tags | Array of strings An optional set of strings associated with the Vault for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "prefix": "env",
- "tags": [
- "foo",
- "bar"
]
}{- "config": {
- "prefix": "ENV_PREFIX"
}, - "description": "environment variable based vault",
- "id": "2747d1e5-8246-4f65-a939-b392f1ee17f8",
- "name": "env",
- "prefix": "env",
- "tags": [
- "foo",
- "bar"
]
}A key object holds a representation of asymmetric keys in various formats. When Kong Gateway or a Kong plugin requires a specific public or private key to perform certain operations, it can use this entity.
List all Keys associated with a KeySet
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
| 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"
}
}
], - "next": "string",
- "offset": "string"
}Create a new Key associated with a KeySet
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
Description of new Key for creation
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| jwk | string or null A JSON Web Key represented as a string. |
| kid required | string A unique identifier for a key. |
| name | string or null The name to associate with the given keys. |
object or null A keypair in PEM format. | |
object or null The id (an UUID) of the key-set with which to associate the key. | |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| x5t | string or null |
{- "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"
}
}{- "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 a Key associated with a KeySet using ID or name.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
| KeyId required | string Example: bba22c06-a632-42be-a018-1b9ff357b5b9 ID of the Key to lookup |
Get a Key associated with a KeySet using ID or name.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
| KeyId required | string Example: bba22c06-a632-42be-a018-1b9ff357b5b9 ID of the Key to lookup |
{- "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 a Key associated with a KeySet using ID or name.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
| KeyId required | string Example: bba22c06-a632-42be-a018-1b9ff357b5b9 ID of the Key to lookup |
Description of the Key
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| jwk | string or null A JSON Web Key represented as a string. |
| kid required | string A unique identifier for a key. |
| name | string or null The name to associate with the given keys. |
object or null A keypair in PEM format. | |
object or null The id (an UUID) of the key-set with which to associate the key. | |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| x5t | string or null |
{- "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"
}
}{- "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"
}
}List all Keys
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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"
}
}
], - "next": "string",
- "offset": "string"
}Create a new Key
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new Key for creation
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| jwk | string or null A JSON Web Key represented as a string. |
| kid required | string A unique identifier for a key. |
| name | string or null The name to associate with the given keys. |
object or null A keypair in PEM format. | |
object or null The id (an UUID) of the key-set with which to associate the key. | |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| x5t | string or null |
{- "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"
}
}{- "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
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| KeyId required | string Example: bba22c06-a632-42be-a018-1b9ff357b5b9 ID of the Key to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a Key using ID or name.
| KeyId required | string Example: bba22c06-a632-42be-a018-1b9ff357b5b9 ID of the Key to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "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.
| KeyId required | string Example: bba22c06-a632-42be-a018-1b9ff357b5b9 ID of the Key to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the Key
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| jwk | string or null A JSON Web Key represented as a string. |
| kid required | string A unique identifier for a key. |
| name | string or null The name to associate with the given keys. |
object or null A keypair in PEM format. | |
object or null The id (an UUID) of the key-set with which to associate the key. | |
| tags | Array of strings An optional set of strings associated with the Key for grouping and filtering. |
| updated_at | integer or null Unix epoch when the resource was last updated. |
| x5t | string or null |
{- "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"
}
}{- "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"
}
}A JSON Web key set. Key sets are the preferred way to expose keys to plugins because they tell the plugin where to look for keys or have a scoping mechanism to restrict plugins to specific keys.
List all KeySets
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
- "name": "example-key-set",
- "tags": [
- "idp-keys"
]
}
], - "next": "string",
- "offset": "string"
}Create a new KeySet
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the new KeySet for creation
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| name | string or null |
| tags | Array of strings |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "id": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
- "name": "example-key-set",
- "tags": [
- "idp-keys"
]
}{- "id": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
- "name": "example-key-set",
- "tags": [
- "idp-keys"
]
}Delete a KeySet
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
{- "message": "Duplicate API key found",
- "status": 401
}Get a KeySet using ID or name.
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "id": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
- "name": "example-key-set",
- "tags": [
- "idp-keys"
]
}Create or Update KeySet using ID or name.
| KeySetId required | string Example: 6cc34248-50b4-4a81-9201-3bdf7a83f712 ID of the KeySet to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
Description of the KeySet
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| name | string or null |
| tags | Array of strings |
| updated_at | integer or null Unix epoch when the resource was last updated. |
{- "id": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
- "name": "example-key-set",
- "tags": [
- "idp-keys"
]
}{- "id": "b58c7d9d-e54f-444c-b24d-cdfc4159f61e",
- "name": "example-key-set",
- "tags": [
- "idp-keys"
]
}List all API-keys associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}
], - "next": "string",
- "offset": "string"
}Create a new API-key associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
Description of new API-key for creation
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| key required | string |
| tags | Array of strings |
{- "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}Delete a an API-key associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| KeyAuthId required | string ID of the API-key to lookup |
Get an API-key associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| KeyAuthId required | string ID of the API-key to lookup |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}Create or Update an API-key associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| KeyAuthId required | string ID of the API-key to lookup |
Description of the API-key
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| key required | string |
| tags | Array of strings |
{- "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}List all API-keys
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}
], - "next": "string",
- "offset": "string"
}Get an API-key using ID.
| KeyAuthId required | string ID of the API-key to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "key": "IL1deIyHyQA40WpeLeA1bIUXuvTwlGjo"
}List all Basic-auth credentials
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}
], - "next": "string",
- "offset": "string"
}Get a Basic-auth credential using ID.
| BasicAuthId required | string Example: 80db1b58-ca7c-4d21-b92a-64eb07725872 ID of the Basic-auth credential to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}List all Basic-auth credentials associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}
], - "next": "string",
- "offset": "string"
}Create a new Basic-auth credential associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
Description of new Basic-auth credential for creation
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| password required | string |
| tags | Array of strings |
| username required | string |
{- "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}Delete a a Basic-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| BasicAuthId required | string Example: 80db1b58-ca7c-4d21-b92a-64eb07725872 ID of the Basic-auth credential to lookup |
Get a Basic-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| BasicAuthId required | string Example: 80db1b58-ca7c-4d21-b92a-64eb07725872 ID of the Basic-auth credential to lookup |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}Create or Update a Basic-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| BasicAuthId required | string Example: 80db1b58-ca7c-4d21-b92a-64eb07725872 ID of the Basic-auth credential to lookup |
Description of the Basic-auth credential
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| password required | string |
| tags | Array of strings |
| username required | string |
{- "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "password": "hashedsoopersecretvalue",
- "username": "darius"
}List all JWTs associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| 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": "HS256",
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}
], - "next": "string",
- "offset": "string"
}Create a new JWT associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
Description of new JWT for creation
| algorithm | string or null Default: "HS256" Enum: "HS256" "HS384" "HS512" "RS256" "RS384" "RS512" "ES256" "ES384" "ES512" "PS256" "PS384" "PS512" "EdDSA" |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| key | string or null |
| rsa_public_key | string or null |
| secret | string or null |
| tags | Array of strings |
{- "algorithm": "HS256",
- "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}{- "algorithm": "HS256",
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}Delete a a JWT associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| JWTId required | string Example: 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 ID of the JWT to lookup |
Get a JWT associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| JWTId required | string Example: 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 ID of the JWT to lookup |
{- "algorithm": "HS256",
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}Create or Update a JWT associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| JWTId required | string Example: 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 ID of the JWT to lookup |
Description of the JWT
| algorithm | string or null Default: "HS256" Enum: "HS256" "HS384" "HS512" "RS256" "RS384" "RS512" "ES256" "ES384" "ES512" "PS256" "PS384" "PS512" "EdDSA" |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| key | string or null |
| rsa_public_key | string or null |
| secret | string or null |
| tags | Array of strings |
{- "algorithm": "HS256",
- "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}{- "algorithm": "HS256",
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}List all JWTs
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": "HS256",
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}
], - "next": "string",
- "offset": "string"
}Get a JWT using ID.
| JWTId required | string Example: 4a7f5faa-8c96-46d6-8214-c87573ef2ac4 ID of the JWT to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "algorithm": "HS256",
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "key": "YJdmaDvVTJxtcWRCvkMikc8oELgAVNcz",
- "secret": "C50k0bcahDhLNhLKSUBSR1OMiFGzNZ7X"
}List all HMAC-auth credentials associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}
], - "next": "string",
- "offset": "string"
}Create a new HMAC-auth credential associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
Description of new HMAC-auth credential for creation
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| secret | string or null |
| tags | Array of strings |
| username required | string |
{- "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}Delete a a HMAC-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| HMACAuthId required | string Example: 70e7b00b-72f2-471b-a5ce-9c4171775360 ID of the HMAC-auth credential to lookup |
Get a HMAC-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| HMACAuthId required | string Example: 70e7b00b-72f2-471b-a5ce-9c4171775360 ID of the HMAC-auth credential to lookup |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}Create or Update a HMAC-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| HMACAuthId required | string Example: 70e7b00b-72f2-471b-a5ce-9c4171775360 ID of the HMAC-auth credential to lookup |
Description of the HMAC-auth credential
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| secret | string or null |
| tags | Array of strings |
| username required | string |
{- "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}List all HMAC-auth credentials
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}
], - "next": "string",
- "offset": "string"
}Get a HMAC-auth credential using ID.
| HMACAuthId required | string Example: 70e7b00b-72f2-471b-a5ce-9c4171775360 ID of the HMAC-auth credential to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "75695322-e8a0-4109-aed4-5416b0308d85",
- "secret": "wQazJ304DW5huJklHgUfjfiSyCyTAEDZ",
- "username": "xerxes"
}List all MTLS-auth credentials associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| 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": [
- {
- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}
], - "next": "string",
- "offset": "string"
}Create a new MTLS-auth credential associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
Description of new MTLS-auth credential for creation
object | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| subject_name required | string |
| tags | Array of strings |
{- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}{- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}Delete a a MTLS-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| MTLSAuthId required | string ID of the MTLS-auth credential to lookup |
Get a MTLS-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| MTLSAuthId required | string ID of the MTLS-auth credential to lookup |
{- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}Create or Update a MTLS-auth credential associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| MTLSAuthId required | string ID of the MTLS-auth credential to lookup |
Description of the MTLS-auth credential
object | |
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| id | string or null |
| subject_name required | string |
| tags | Array of strings |
{- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}{- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}List all MTLS-auth credentials
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}
], - "next": "string",
- "offset": "string"
}Get a MTLS-auth credential using ID.
| MTLSAuthId required | string ID of the MTLS-auth credential to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "ca_certificate": {
- "id": "b2f34145-0343-41a4-9602-4c69dec2f260"
}, - "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "id": "b2f34145-0343-41a4-9602-4c69dec2f269",
- "subject_name": "CA_Subject_Name"
}List all ACLs
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}
], - "next": "string",
- "offset": "string"
}Get an ACL using ID.
| ACLId required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 ID of the ACL to lookup |
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}List all ACLs associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| 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": [
- {
- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}
], - "next": "string",
- "offset": "string"
}Create a new ACL associated with a Consumer
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
Description of new ACL for creation
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| group required | string |
| id | string or null |
| tags | Array of strings |
{- "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}Delete a an ACL associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| ACLId required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 ID of the ACL to lookup |
Get an ACL associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| ACLId required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 ID of the ACL to lookup |
{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}Create or Update an ACL associated with a Consumer using ID.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| ConsumerIdForNestedEntities required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 Consumer ID for nested entities |
| ACLId required | string Example: f28acbfa-c866-4587-b688-0208ac24df21 ID of the ACL to lookup |
Description of the ACL
object or null | |
| created_at | integer or null Unix epoch when the resource was created. |
| group required | string |
| id | string or null |
| tags | Array of strings |
{- "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}{- "consumer": {
- "id": "84a73fb8-50fc-44a7-a4d5-aa17728ee83f"
}, - "group": "foo",
- "id": "b1f34145-0343-41a4-9602-4c69dec2f269"
}List all Targets associated with an Upstream
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| UpstreamIdForTarget required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID or target of the Target to lookup |
| 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": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "upstream": {
- "id": "5f1d7e76-2fed-4806-a6af-869984f025cb"
}, - "weight": 100
}
], - "next": "string",
- "offset": "string"
}Create a new Target associated with an Upstream
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| UpstreamIdForTarget required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID or target of the Target to lookup |
Description of new Target for creation
| created_at | number or null Unix epoch when the resource was created. |
| id | string or null |
| tags | Array of strings An optional set of strings associated with the Target for grouping and filtering. |
| target | string or null The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the |
| updated_at | number or null Unix epoch when the resource was last updated. |
object or null | |
| weight | integer or null Default: 100 The weight this target gets within the upstream loadbalancer ( |
{- "id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "weight": 100
}{- "id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "upstream": {
- "id": "5f1d7e76-2fed-4806-a6af-869984f025cb"
}, - "weight": 100
}Delete a a Target associated with an Upstream using ID or target.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| UpstreamIdForTarget required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID or target of the Target to lookup |
| TargetId required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID of the Target to lookup |
Get a Target associated with an Upstream using ID or target.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| UpstreamIdForTarget required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID or target of the Target to lookup |
| TargetId required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID of the Target to lookup |
{- "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.
| controlPlaneId required | string <uuid> Example: 9524ec7d-36d9-465d-a8c5-83a3c9390458 The UUID of your control plane. This variable is available in the Konnect manager. |
| UpstreamIdForTarget required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID or target of the Target to lookup |
| TargetId required | string Example: 5a078780-5d4c-4aae-984a-bdc6f52113d8 ID of the Target to lookup |
Description of the Target
| created_at | number or null Unix epoch when the resource was created. |
| id | string or null |
| tags | Array of strings An optional set of strings associated with the Target for grouping and filtering. |
| target | string or null The target address (ip or hostname) and port. If the hostname resolves to an SRV record, the |
| updated_at | number or null Unix epoch when the resource was last updated. |
object or null | |
| weight | integer or null Default: 100 The weight this target gets within the upstream loadbalancer ( |
{- "id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "weight": 100
}{- "id": "089292a7-ba3d-4d88-acf0-97b4b2e2621a",
- "target": "203.0.113.42",
- "upstream": {
- "id": "5f1d7e76-2fed-4806-a6af-869984f025cb"
}, - "weight": 100
}Updates a job to re-send audit logs to an portal's webhook.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
The request schema to replace a portal audit log replay job.
| start_at required | string <date-time> The start of a date-time range in RFC3339 format e.g. 2017-07-21T17:32:28Z. Must be within the last 7 days. |
| end_at required | string <date-time> The end of a date-time range in RFC3339 format e.g. 2017-07-21T17:32:28Z. Must be within the last 7 days. |
{- "start_at": "2019-08-24T14:15:22Z",
- "end_at": "2019-08-24T14:15:22Z"
}{- "start_at": "2017-07-21T17:32:28Z",
- "end_at": "2017-07-21T17:32:28Z",
- "status": "unconfigured",
- "updated_at": "2019-08-24T14:15:22Z"
}Returns the audit log replay job's configuration and status.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "start_at": "2017-07-21T17:32:28Z",
- "end_at": "2017-07-21T17:32:28Z",
- "status": "unconfigured",
- "updated_at": "2019-08-24T14:15:22Z"
}Updates the configuration for a webhook to receive audit logs.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
The request schema to modify an portal audit log webhook.
| enabled | boolean Default: false Indicates if the data should be sent to the configured destination. |
| audit_log_destination_id | string <uuid> ID of the audit log destination. |
{- "enabled": false
}{- "enabled": true,
- "audit_log_destination_id": "9cb77dc2-ff99-4d47-84ab-7c5c1b3ef939"
}Returns configuration for the audit log webhook.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "enabled": true,
- "audit_log_destination_id": "9cb77dc2-ff99-4d47-84ab-7c5c1b3ef939"
}Returns status of the audit log webhook.
| portalId required | string <uuid> Example: f32d905a-ed33-46a3-a093-d8f536af9a8a ID of the portal. |
{- "webhook_enabled": true,
- "webhook_status": "inactive",
- "last_attempt_at": "2023-03-21T09:29:14.52Z",
- "last_response_code": 401,
- "last_response_message": "Unauthorized"
}