Domains /
Remove CDN from a subdomain
Removes the CDN integration from the given subdomain
Required permission
Account > Subdomains > General > Update
Path parameters
domain
string requiredName of the domainsubdomain
string requiredName of the subdomain
Request body
- {object}
provider
string requiredProvider for which the CDN on the subdomain should be disabled.
Response body
- {object}Response object.
data
{object} requiredResult data.
API
CLI
JS Client
POST /v1/domains/{domain}/subdomains/{subdomain}/cdn/disable
Example request
Request body
curl
curl --header "Content-Type: application/json" \
--header "Authorization: Bearer NORTHFLANK_API_TOKEN" \
--request POST \
--data '{"provider":"cloudfront"}' \
https://api.northflank.com/v1/domains/{domain}/subdomains/{subdomain}/cdn/disable
Example response
200 OK
The operation was performed successfully.
JSON
{
"data": {}
}