> For the complete documentation index, see [llms.txt](https://help.santesuite.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/device-management-tests/test-security-dm-05.md).

# TEST: SECURITY-DM-05

## References

* [Device Management](broken://pages/-LyJMhbVM6ouxYs1bDRc)

## Discussion

This is a basic test to demonstrate that the UI components appear and operate correctly when undeleting  a deleted device.

## **Pre-Conditions / Setup**

1. User must be logged into an account with policies granted for undeleting devices.
2. Navigate to **Administration Panel / Security / Devices / Devices**.

## Actions/Steps

1- Navigate to the Devices/Devices page and click the **Show Deleted** button.

![](/files/-MdKhcGoen37YlVHBvC4)

2- Click the **Un-Delete** button to undelete the device.

![](/files/-MdKjdFIyawDkEhVGugA)

3- Click  **Ok** to confirm the undelete.

![](/files/-MdKkg3SPjk_28vLHh9T)

## Expected Behaviour

1- Deleted device ( Create-Device-Test1 ) should appear among the deleted applications.

![](/files/-MdKiRkr-MEW9BwyH01H)

2- Should display a message asking to confirm the undelete.

![](/files/-MdKkM2cCUHcwz9NG3jc)

3-

* The undeleted device (Create-Device-Test1 ) should disappear from the deleted devices list page&#x20;
* The undeleted device (Create-Device-Test1) should reappear on the Devices/Devices page.

![](/files/-MdKlf7OTFUgA-q2iyha)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.santesuite.org/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/device-management-tests/test-security-dm-05.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
