---
title: "ezgh sso users delete"
description: "Delete a directory user, ending their sessions and access."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh sso users delete

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh sso users delete <user> [flags]
```

Delete a directory user. Their sessions, sign-ins in progress and tokens end at once, they're removed from their groups and applications, and policies attached to them are removed. It asks first on a terminal; `--yes` confirms otherwise. To stop someone signing in but keep them, suspend them instead.

Part of [`ezgh sso users`](/cli/reference/sso-users).

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `-y`, `--yes` | boolean |  | don't ask for confirmation |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/sso-users-delete/index.mdx
