You can delete any associations that the device has with machines. You can also delete a
device for which a business need no longer exists. Deleting the device removes the device serial
number and its key data from the IBM Guardium Key Lifecycle Manager
database.
About this task
If the device is in the DS5000 endpoint family and
machine affinity is enabled, deleting the device also deletes any relationship between a device and
a machine.
You can use the Delete device menu item or the Device
Delete REST Service to delete a device. Your role must have permissions to the delete action and to
the appropriate endpoint.
To delete any associations that the device has with machines, use the Delete
association menu item or the Machine Device Delete REST Service. Your role must have permissions to the delete action and to
the appropriate endpoint.
Procedure
- Using the graphical user interface
- Log in to the graphical user interface.
- On the home page, click the menu icon (
) at the upper left of the page.
- Click .
- On the Configured endpoints page, select your DS5000 endpoint and click the overflow menu
icon (
).
- From the overflow menu options, click View.
- Alternatively, on the home page, click your DS5000 endpoint link in the
Configured endpoints section.
- On the DS5000 endpoint
management page, select a device in the table and click the overflow menu icon.
- Based on your business needs, you can delete device association with the machine or a
device.
- To delete the device association with the machine, from the overflow menu options, click
Delete association.
- To delete a device, from the overflow menu options, click Delete
device.
- On the Confirm delete dialog, read the confirmation message
before you delete the device. Click OK.
- Using a REST interface
- Open the Swagger UI. For more information, see Using Swagger UI.
- Authenticate and authorize to access the REST APIs. For more information, see Authentication process for REST services.
- Use the Machine Device List REST Service to obtain the
uuid
of the device that you intend to delete. Use the Machine Device
Delete REST Service to delete any associations that the device has with machines. For
example, you can send the following HTTP requests.
GET https://localhost:port/GKLM/rest/v1/machines/device?machineID=
3042383030303437000000000000
Content-Type: application/json
Accept : application/json
Authorization: SKLMAuth authId=139aeh34567m
DELETE https://localhost:port/GKLM/rest/v1/machines/device
Content-Type: application/json
Accept : application/json
Authorization: SKLMAuth authId=139aeh34567m
{"deviceUUID”:”DEVICE-663b6d37-e6d5-4c9f-af90-e40e48d27f3c","machineID":
"3042383030303437000000000000”}
- Use the Device Delete REST Service to delete a device. For example,
you can send the following HTTP request.
DELETE https://localhost:port/GKLM/rest/v1/devices/DEVICE-74386920-148c-
47b2-a1e2-d19194b315cf
Content-Type: application/json
Accept : application/json
Authorization: SKLMAuth authId=139aeh34567m