REST API  14
REST API for Luna Network HSMs
DELETE /api/lunasa/network/devices/{deviceid}/dns/searchDomains/{searchDomainid}

DELETE /api/lunasa/network/devices/{deviceid}/dns/searchDomains/{searchDomainid}

Deletes a search domain entry.

User Privileges

Users with the following role privileges can perform this command:

  • admin
  • operator

Parameters

deviceid

The identifier of a network device.

Use: Required

JSON Schema:

    Object
    type: string

searchDomainid

Specifies the id of the search domain.

Use: Required

JSON Schema:

    Object
    type:string
    minLength: 1
    maxLength: 64
    pattern: [a-zA-Z0-9._-]

Responses

204

Success

400

FRAMEWORK_BAD_REQUEST

Failed to execute due to malformed request.

404

APPLIANCE_SEARCH_DOMAIN_DOES_NOT_EXIST

The search domain specified does not exist.

400

APICONFIG_NETDEVICE_NOT_CONFIGURED

Interface specified is not configured.

400

APPLIANCE_FAILED_TO_DELETE_SEARCH_DOMAIN

Unable to delete specified search domain.

404

APPLIANCE_INTERFACE_DOES_NOT_EXIST

Specified interface does not exist.

Example Request

    DELETE
    https://1.2.3.4:8443/api/lunasa/network/devices/eth0/dns/searchDomains/{searchDomainid}
    {}

Example Response

{}