Skip to main content

Delete DNS configuration

DELETE 

/api/node/:hostname/network/dns

Delete the managed DNS configuration from the target node, restoring the system default.

Request

Path Parameters

    hostname stringrequired

    Possible values: non-empty

    Target agent hostname, reserved routing value (_any, _all), or label selector (key:value).

Body

required

    interface_name stringrequired

    The name of the network interface to delete DNS configuration from.

Responses

DNS configuration deleted.

Schema

    job_id uuid

    The job ID used to process this request.

    results

    object[]

    required

  • Array [

  • hostname stringrequired

    Hostname of the agent that processed this operation.

    status stringrequired

    Possible values: [ok, failed, skipped]

    The status of the operation for this host.

    changed boolean

    Whether the DNS configuration was actually modified.

    error string

    Error message if the agent failed.

  • ]

Loading...