v1
Double column
API
CLI
JS Client

Domains /

Remove CDN from a subdomain

Removes the CDN integration from the given subdomain

Required permission

Account > Subdomains > General > Update

Path parameters

    • domain

      string required
      Name of the domain
    • subdomain

      string required
      Name of the subdomain

Request body

  • {object}
    • provider

      string required
      Provider for which the CDN on the subdomain should be disabled.

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result 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": {}
    }

    © 2024 Northflank Ltd. All rights reserved.