Create Custom Domain
Registers a custom domain for a control plane. After creation, Konnect provisions a TLS certificate and configures SNI routing, transitioning the domain through initializing → ready. To complete setup, configure two CNAME records at your DNS registrar: one pointing your domain to the Konnect gateway hostname, and one pointing _acme-challenge.<your-domain> to the ACME challenge hostname provided by Konnect. Use the online-status endpoint to verify both records are correctly configured.
Request body
Example request
{
"control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
"domain": "example.com"
}Response
Response format for creating a custom domain for a control-plane in the global API.
Example response
{
"id": "39ed3790-085d-4605-9627-f96d86aaf425",
"control_plane_id": "0949471e-b759-45ba-87ab-ee63fb781388",
"domain": "example.com",
"certificate_id": "3b7cbeee-fbec-440e-a5ef-89e7dec3b9d0",
"sni_id": "a8f11ea8-af09-4422-9735-5d4f8910aba1",
"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"
}Changes
Changed in 4 of the 75 revisions of this API.1123
- ○
added the new optional request property
kindnew-optional-request-property
- ○
added the optional property
kindto the response with the201statusresponse-optional-property-added
- ○
- ●
added the new
typeenum value to theallOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/ruleresponse property for the response status400response-property-enum-value-added
- ●
- ●
added the new
sgenum value to thecontrol_plane_georesponse property for the response status201response-property-enum-value-added
- ○
added the new
sgenum value to the request propertycontrol_plane_georequest-property-enum-value-added
- ●
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterChoiceItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterDependentItem]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMaximumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterMinimumLength]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
allOf[subschema #2]/invalid_parameters/items/oneOf[InvalidParameterStandard]/sourcebecame nullable for the status400response-property-became-nullable
- ▲
the response property
detailbecame nullable for the status401response-property-became-nullable
- ▲
the response property
instancebecame nullable for the status401response-property-became-nullable
- ▲
the response property
state_metadata/reasonbecame nullable for the status201response-property-became-nullable
- ▲
the response property
state_metadata/reported_statusbecame nullable for the status201response-property-became-nullable
- ▲
the response property
statusbecame nullable for the status401response-property-became-nullable
- ▲
the response property
titlebecame nullable for the status401response-property-became-nullable
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲