v1
Double column
API
CLI
JS Client

Domains /

Unassign subdomain

Removes a subdomain from its assigned service

Required permission

Account > Subdomains > General > Update

Path parameters

    • domain

      string required
      Name of the domain
    • subdomain

      string required
      Name of the subdomain

Query parameters

    • unassignPaths

      boolean
      Unassign all associated subdomain paths from their respective services.

Response body

  • {object}
    Response object.
    • data

      {object} required
      Result data.
    API
    CLI
    JS Client

    DELETE /v1/domains/{domain}/subdomains/{subdomain}/assign

    Example response

    200 OK

    The operation was performed successfully.

    JSON

    {
      "data": {}
    }

    © 2024 Northflank Ltd. All rights reserved.