> 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/user-management-tests/test-security-um-33-1.md).

# TEST: SECURITY-UM-33

## References

* [User Management](broken://pages/-LyJM_KRwADCTfXEdvxM)
* [TEST: SECURITY-UM-01](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-01.md)&#x20;

## Discussion

SanteSuite users cannot be permanently destroyed. Deleting a user means that it is moved to a list of deleted users.&#x20;

## Pre-Conditions / Setup

1. User must be logged into an account with policies granted for creating/deleting users.
2. Follow the instructions from [TEST: SECURITY-UM-01](/installation/installation-1/deployment/installing-software/santedb-server/installation-qualification/security-administration-testing/test-cases-for-ui-1/user-management-tests/test-security-um-01.md) to create a user to be deleted.
3. Navigate to **Administration Panel / Security / Users / Index**.

## Actions/Steps

1\. Click the **Delete** button in the same row as the user to be deleted.

![](/files/-Me3EiCnldNypKLKcv7Z)

2\. Click the **OK** button on the confirmation modal that appears in the browser.

![](/files/-Me3F6KXa6-PBmPUyIK_)

## Expected Behaviour

* Deleted user should be removed from the list after it reloads and is added to the list of deleted users.
* Clicking the **Show Deleted** button should toggle (darkened button) the list of deleted users and should include the user that was just deleted (e.g. "ClinicalStaffUser123" in this case).

![](/files/-Me3FqL1twq56NicxyYl)


---

# 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/user-management-tests/test-security-um-33-1.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.
