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

# Deactivate User

Deactivates a user. This operation can only be performed on users that do not have a `DEPROVISIONED` status. While the asynchronous operation (triggered by HTTP header `Prefer: respond-async`) is proceeding the user's `transitioningToStatus` property is `DEPROVISIONED`. The user's status is `DEPROVISIONED` when the deactivation process is complete.

<Note>
  External Documentation

  To learn more, visit the [Okta documentation](https://developer.okta.com/docs/api/openapi/okta-management/management/tag/User/#tag/User/operation/deactivateUser).
</Note>

## Parameters

<div className="integrations-table">
  | Parameter  | Description                                                               |
  | ---------- | ------------------------------------------------------------------------- |
  | Send Email | When checked, notify the user about their account deactivation via email. |
  | User ID    | An ID, login, or login shortname of an existing Okta user.                |
</div>

## Example Output

```json theme={"dark"}
{}
```

## Workflow Library Example

[Create Temporary User with Okta](https://library.blinkops.com/workflows/create-temporary-user-with-okta)

<div className="iframe-wrapper">
  <div className="iframe-media">
    <img src="https://mintcdn.com/blinkops-2/ojHYuDeYX5FWuN8a/img/Icons/play-box.svg?fit=max&auto=format&n=ojHYuDeYX5FWuN8a&q=85&s=b8af968e71438a9499c3223c9bd29fb2" alt="Workflow Library" width="16" height="16" data-path="img/Icons/play-box.svg" />

    Preview this Workflow on desktop
  </div>

  <iframe className="iframe" src="https://library.blinkops.com/workflows/create-temporary-user-with-okta/canvas" />
</div>
