REST API  4.0.0
REST API for SafeNet Network HSMs
DELETE /api/lunasa/network/devices/{deviceid}

DELETE /api/lunasa/network/devices/{deviceid}

Removes or disables a device.

Parameters

deviceid

Specifies the id of the device.

Use: Required

JSON Schema:

    Object
    type:string

Responses

204

Success

400

Unexpected error

404

Device does not exist.

Example Request

    DELETE
    https://1.2.3.4:8443/api/lunasa/network/devices/{deviceid}
    {}

Example Response

{}

Notes

This resource will disable ethernet devices such as eth0 and eth1, querying a device that has been disabled will display values such as ip, mask and gateway as null. If the device is a bond device the device will be removed.