Download OpenAPI specification:Download
Konnect API for managing cloud-gateways infrastructure.
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": 1,
- "size": 10,
- "total": 100
}
}, - "data": [
- {
- "id": "39ed3790-085d-4605-9627-f96d86aaf425",
- "kind": "dedicated.v0",
- "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 write action).
| kind required | string Enum: "dedicated.v0" "serverless.v0" |
| 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. |
{- "kind": "dedicated.v0",
- "control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
- "control_plane_geo": "us",
- "domain": "example.com"
}{- "id": "39ed3790-085d-4605-9627-f96d86aaf425",
- "kind": "dedicated.v0",
- "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",
- "kind": "dedicated.v0",
- "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"
}