> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/action-center/wasabi/delete-user.md).

# Delete User

Permanently deletes the matched Wasabi IAM users. Wasabi cannot delete a user that still has dependencies, so the job removes them first. The job has no settings besides the connection.

### Before you begin

* A Wasabi access key with permission to manage IAM users. The job calls the Wasabi IAM endpoint (`https://iam.wasabisys.com`).
* Connection values can be saved once as defaults. See [Action Center Settings](broken://pages/b23094e7a0e65b2d6e12d56cff38ca6b85c39d2a), group **Wasabi**, one tab per job.
* Accepted asset types: user.
* Required columns: **Specifics.wasabi.UserName**. Users without a Wasabi user name are ignored, so the Wasabi adapter must be connected and discovered first.

{% hint style="danger" %}
This job deletes users and cannot be undone. Use Suspend User if you may need the account again.
{% endhint %}

### Settings

| Setting           | Type             | Required | Default     | Description                                    |
| ----------------- | ---------------- | -------- | ----------- | ---------------------------------------------- |
| Access Key ID     | Text             | Yes      | None        | Wasabi access key ID.                          |
| Secret Access Key | Text (sensitive) | Yes      | None        | Wasabi secret access key. Masked after saving. |
| Region            | Text             | No       | `us-east-1` | Region name passed to the IAM client.          |

### How it works

For each user the job runs these steps in order: delete the login profile, delete all access keys, remove the user from all groups, detach all managed policies, delete all inline policies, then delete the user. Items that are already gone are skipped.

If none of the matched users has a Wasabi user name, the job fails with an error. Each user is handled on its own: a Wasabi error for one user is logged and the job continues with the next one, so the job node itself does not fail on a single user's error. A user that no longer exists in Wasabi is logged and skipped.

The matched assets are passed unchanged to the next node.

### Example

```
Access Key ID:      YOUR_ACCESS_KEY_ID
Secret Access Key:  YOUR_SECRET_ACCESS_KEY
Region:             us-east-1
```

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td><a href="broken://pages/0fd3aae844db8baf52bca89680f9db8486f05952">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save default values for this job.</td><td><a href="broken://pages/b23094e7a0e65b2d6e12d56cff38ca6b85c39d2a">Broken link</a></td></tr><tr><td><strong>Suspend User</strong></td><td>Block access without deleting the user.</td><td><a href="broken://pages/82cf429fb8b0c356edc6cfb2c762061519e1a78d">Broken link</a></td></tr></tbody></table>
