curl --request PATCH \
--url https://api.cpln.io/org/{org}/domain/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"name": "<string>",
"spec": {
"$drop": [
"dnsMode"
],
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$drop/ports": [
"<string>"
],
"$append/ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$patch/ports": [
{
"$drop": [
"number"
],
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$drop/routes": [
"<string>"
],
"$append/routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$patch/routes": [
{
"$drop": [
"replacePrefix"
],
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"$drop": [
"request"
],
"request": {
"$drop": [
"set"
],
"set": {},
"$replace/set": {}
},
"$replace/request": {
"set": {}
}
},
"$replace/headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$retain/routes": [
"<string>"
],
"cors": {
"$drop": [
"allowOrigins"
],
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$drop/allowOrigins": [
"<string>"
],
"$append/allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$patch/allowOrigins": [
{
"$drop": [
"exact"
],
"exact": "<string>",
"regex": "<string>"
}
],
"$retain/allowOrigins": [
"<string>"
],
"allowMethods": [
"<string>"
],
"$drop/allowMethods": [
"<string>"
],
"$append/allowMethods": [
"<string>"
],
"$retain/allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"$drop/allowHeaders": [
"<string>"
],
"$append/allowHeaders": [
"<string>"
],
"$retain/allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"$drop/exposeHeaders": [
"<string>"
],
"$append/exposeHeaders": [
"<string>"
],
"$retain/exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"$replace/cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"$drop": [
"minProtocolVersion"
],
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$drop/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$append/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$retain/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/serverCertificate": {
"secretLink": "<string>"
}
},
"$replace/tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$retain/ports": [
"<string>"
]
},
"$replace/spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
}
}'
{
"id": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"name": "<string>",
"spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
},
"status": {
"endpoints": [
{
"url": "<string>",
"workloadLink": "<string>"
}
],
"status": "initializing",
"warning": "<string>",
"locations": [
{
"name": "<string>",
"certificateStatus": "initializing"
}
],
"fingerprint": "<string>",
"dnsConfig": [
{
"type": "<string>",
"ttl": 123,
"host": "<string>",
"value": "<string>"
}
]
}
}
Service account key can be used as API keys
The body is of type object
.
Success
The response is of type object
.
curl --request PATCH \
--url https://api.cpln.io/org/{org}/domain/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"name": "<string>",
"spec": {
"$drop": [
"dnsMode"
],
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$drop/ports": [
"<string>"
],
"$append/ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$patch/ports": [
{
"$drop": [
"number"
],
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$drop/routes": [
"<string>"
],
"$append/routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$patch/routes": [
{
"$drop": [
"replacePrefix"
],
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"$drop": [
"request"
],
"request": {
"$drop": [
"set"
],
"set": {},
"$replace/set": {}
},
"$replace/request": {
"set": {}
}
},
"$replace/headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$retain/routes": [
"<string>"
],
"cors": {
"$drop": [
"allowOrigins"
],
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$drop/allowOrigins": [
"<string>"
],
"$append/allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$patch/allowOrigins": [
{
"$drop": [
"exact"
],
"exact": "<string>",
"regex": "<string>"
}
],
"$retain/allowOrigins": [
"<string>"
],
"allowMethods": [
"<string>"
],
"$drop/allowMethods": [
"<string>"
],
"$append/allowMethods": [
"<string>"
],
"$retain/allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"$drop/allowHeaders": [
"<string>"
],
"$append/allowHeaders": [
"<string>"
],
"$retain/allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"$drop/exposeHeaders": [
"<string>"
],
"$append/exposeHeaders": [
"<string>"
],
"$retain/exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"$replace/cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"$drop": [
"minProtocolVersion"
],
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$drop/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$append/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$retain/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/serverCertificate": {
"secretLink": "<string>"
}
},
"$replace/tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$retain/ports": [
"<string>"
]
},
"$replace/spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
}
}'
{
"id": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"name": "<string>",
"spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
},
"status": {
"endpoints": [
{
"url": "<string>",
"workloadLink": "<string>"
}
],
"status": "initializing",
"warning": "<string>",
"locations": [
{
"name": "<string>",
"certificateStatus": "initializing"
}
],
"fingerprint": "<string>",
"dnsConfig": [
{
"type": "<string>",
"ttl": 123,
"host": "<string>",
"value": "<string>"
}
]
}
}
curl --request PATCH \
--url https://api.cpln.io/org/{org}/domain/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"name": "<string>",
"spec": {
"$drop": [
"dnsMode"
],
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$drop/ports": [
"<string>"
],
"$append/ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$patch/ports": [
{
"$drop": [
"number"
],
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$drop/routes": [
"<string>"
],
"$append/routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$patch/routes": [
{
"$drop": [
"replacePrefix"
],
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"$drop": [
"request"
],
"request": {
"$drop": [
"set"
],
"set": {},
"$replace/set": {}
},
"$replace/request": {
"set": {}
}
},
"$replace/headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$retain/routes": [
"<string>"
],
"cors": {
"$drop": [
"allowOrigins"
],
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$drop/allowOrigins": [
"<string>"
],
"$append/allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$patch/allowOrigins": [
{
"$drop": [
"exact"
],
"exact": "<string>",
"regex": "<string>"
}
],
"$retain/allowOrigins": [
"<string>"
],
"allowMethods": [
"<string>"
],
"$drop/allowMethods": [
"<string>"
],
"$append/allowMethods": [
"<string>"
],
"$retain/allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"$drop/allowHeaders": [
"<string>"
],
"$append/allowHeaders": [
"<string>"
],
"$retain/allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"$drop/exposeHeaders": [
"<string>"
],
"$append/exposeHeaders": [
"<string>"
],
"$retain/exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"$replace/cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"$drop": [
"minProtocolVersion"
],
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$drop/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$append/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$retain/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/serverCertificate": {
"secretLink": "<string>"
}
},
"$replace/tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$retain/ports": [
"<string>"
]
},
"$replace/spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
}
}'
{
"id": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"name": "<string>",
"spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
},
"status": {
"endpoints": [
{
"url": "<string>",
"workloadLink": "<string>"
}
],
"status": "initializing",
"warning": "<string>",
"locations": [
{
"name": "<string>",
"certificateStatus": "initializing"
}
],
"fingerprint": "<string>",
"dnsConfig": [
{
"type": "<string>",
"ttl": 123,
"host": "<string>",
"value": "<string>"
}
]
}
}
Service account key can be used as API keys
The body is of type object
.
Success
The response is of type object
.
curl --request PATCH \
--url https://api.cpln.io/org/{org}/domain/{name} \
--header 'Content-Type: application/json' \
--data '{
"$drop": [
"description"
],
"description": "<string>",
"tags": {},
"$replace/tags": {},
"name": "<string>",
"spec": {
"$drop": [
"dnsMode"
],
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$drop/ports": [
"<string>"
],
"$append/ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$patch/ports": [
{
"$drop": [
"number"
],
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$drop/routes": [
"<string>"
],
"$append/routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$patch/routes": [
{
"$drop": [
"replacePrefix"
],
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"$drop": [
"request"
],
"request": {
"$drop": [
"set"
],
"set": {},
"$replace/set": {}
},
"$replace/request": {
"set": {}
}
},
"$replace/headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"$retain/routes": [
"<string>"
],
"cors": {
"$drop": [
"allowOrigins"
],
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$drop/allowOrigins": [
"<string>"
],
"$append/allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"$patch/allowOrigins": [
{
"$drop": [
"exact"
],
"exact": "<string>",
"regex": "<string>"
}
],
"$retain/allowOrigins": [
"<string>"
],
"allowMethods": [
"<string>"
],
"$drop/allowMethods": [
"<string>"
],
"$append/allowMethods": [
"<string>"
],
"$retain/allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"$drop/allowHeaders": [
"<string>"
],
"$append/allowHeaders": [
"<string>"
],
"$retain/allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"$drop/exposeHeaders": [
"<string>"
],
"$append/exposeHeaders": [
"<string>"
],
"$retain/exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"$replace/cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"$drop": [
"minProtocolVersion"
],
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$drop/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$append/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"$retain/cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"$drop": [
"secretLink"
],
"secretLink": "<string>"
},
"$replace/serverCertificate": {
"secretLink": "<string>"
}
},
"$replace/tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
],
"$retain/ports": [
"<string>"
]
},
"$replace/spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
}
}'
{
"id": "<string>",
"kind": "<string>",
"version": 123,
"description": "<string>",
"tags": {},
"created": "2023-11-07T05:31:56Z",
"lastModified": "2023-11-07T05:31:56Z",
"links": [
{
"rel": "<string>",
"href": "<string>"
}
],
"name": "<string>",
"spec": {
"dnsMode": "cname",
"gvcLink": "<string>",
"certChallengeType": "http01",
"workloadLink": "<string>",
"acceptAllHosts": true,
"acceptAllSubdomains": true,
"ports": [
{
"number": 123,
"protocol": "http2",
"routes": [
{
"replacePrefix": "<string>",
"regex": "<string>",
"prefix": "<string>",
"workloadLink": "<string>",
"port": 123,
"hostPrefix": "<string>",
"hostRegex": "<string>",
"headers": {
"request": {
"set": {}
}
},
"replica": 123
}
],
"cors": {
"allowOrigins": [
{
"exact": "<string>",
"regex": "<string>"
}
],
"allowMethods": [
"<string>"
],
"allowHeaders": [
"<string>"
],
"exposeHeaders": [
"<string>"
],
"maxAge": "<string>",
"allowCredentials": true
},
"tls": {
"minProtocolVersion": "TLSV1_2",
"cipherSuites": [
[
"ECDHE-ECDSA-AES256-GCM-SHA384",
"ECDHE-ECDSA-CHACHA20-POLY1305",
"ECDHE-ECDSA-AES128-GCM-SHA256",
"ECDHE-RSA-AES256-GCM-SHA384",
"ECDHE-RSA-CHACHA20-POLY1305",
"ECDHE-RSA-AES128-GCM-SHA256",
"AES256-GCM-SHA384",
"AES128-GCM-SHA256"
]
],
"clientCertificate": {
"secretLink": "<string>"
},
"serverCertificate": {
"secretLink": "<string>"
}
}
}
]
},
"status": {
"endpoints": [
{
"url": "<string>",
"workloadLink": "<string>"
}
],
"status": "initializing",
"warning": "<string>",
"locations": [
{
"name": "<string>",
"certificateStatus": "initializing"
}
],
"fingerprint": "<string>",
"dnsConfig": [
{
"type": "<string>",
"ttl": 123,
"host": "<string>",
"value": "<string>"
}
]
}
}