> For the complete documentation index, see [llms.txt](https://docs.oceanenterprise.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.oceanenterprise.io/operational-guidelines/user-directory-management/user-group-management/delete-user-group.md).

# Delete User Group

### Overview

Deleting a group removes the group and all of its memberships. The user records themselves are preserved.

For detail-oriented flow illustration, please consult [Sequence Flow](#sequence-flow).

### Procedure

1. Authenticate in Authentik Dashboard as `akadmin` , Administrator account which was created at [initial setup](/infrastructure/user-management-package/deployment-steps/post-installation-steps.md#set-the-authentik-server-administrator-account).
2. Navigate to **Directory → Groups** and select the checkbox of the group.
3. Select **Delete**.

<figure><img src="https://1789397093-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FH0zpgrXbeZ7u6UuCV9Gz%2Fuploads%2FJ4ooNhiwA0BshtublMXW%2FScreenshot%202026-09-09%20at%2001.47.58.png?alt=media&amp;token=8df9ea70-0830-4f46-be1c-6d6c6cf6eaa7" alt=""><figcaption></figcaption></figure>

### Verification

* The group is no longer listed under **Directory → Groups**.
* Former members are still listed under **Directory → Users**, without the deleted group.
* A newly issued token for a former member no longer contains the group in the `groups` claim.

### Notes

* If the deleted group was the group configured in `NUXT_ADMIN_USER_GROUP_NAME`, every former member loses access to the SSI Wallet UI. Create the replacement group and update the configuration before deleting the previous one.
* Tokens issued before the deletion keep the previous `groups` claim until they expire.

### Appendix

#### Sequence Flow

```mermaid
sequenceDiagram
    actor OA as Administrator
    participant UI as Authentik<br>Service
    participant PG as Authentik<br>Database

    OA->>UI: Open Directory → Groups and select Delete for the group
    OA->>UI: Confirm the deletion
    UI->>PG: Remove the memberships and the group
    PG-->>UI: Group removed
    UI-->>OA: Group no longer listed

```


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.oceanenterprise.io/operational-guidelines/user-directory-management/user-group-management/delete-user-group.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
