# Terminations

A **termination**, also called a **leaver event**, is the process used when a user leaves the organization and all access must be removed.

A termination is triggered when a user:

* Resigns or is dismissed
* Finishes a contract
* Is otherwise no longer active in the organization

It marks the end of the user lifecycle in OpenIAM.

There are two common ways to terminate a user.

### Simple termination

Use **Terminate user** or **Delete**, as described in the [administrative operations guide](https://docs.openiam.com/docs-2026.2.1/admin/1-usradmin/3-adminoperations).

This changes the user status to **Terminated** in OpenIAM and sets an end date on entitlements across connected applications.

### Common customer case

A common requirement is terminating the user in OpenIAM while also moving the account to a disabled OU.

To support this flow, use the **Terminate user** workflow.

Go to **Webconsole** → **System configuration** → **Workflow**, then choose **Terminate user** in the **Default Approver Resource** field.

This workflow lets you:

* terminate users and set an end date for entitlements
* terminate users and remove entitlements

Both options trigger deprovisioning in the target systems.

If you also need to move users to a specific OU, add a Groovy rule to the managed system [Policy map](/automated-user-provisioning/policy-map.md) configuration.


---

# Agent Instructions: 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://docs-beta.openiam.com/automated-user-provisioning/terminations.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.
