Skip to content

Set Cluster Dns Credential

PUT
/clusters/{cluster_id}/dns-credential
curl --request PUT \
--url https://api.mengi.cloud/clusters/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/dns-credential \
--header 'Content-Type: application/json' \
--data '{ "dns_credential_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" }'

Attach a DNS credential to a cluster (or detach with a null id) so the per-cluster external-dns manages that credential’s domain (BYOC DNS, Phase 3).

cluster_id
required
Cluster Id
string format: uuid
Media typeapplication/json
SetClusterDNSCredential
object
dns_credential_id
Any of:
string format: uuid
Examplegenerated
{
"dns_credential_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"
}

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}