Deactivate User

Deactivate a user in Okta. This operation cannot be performed on users with a DEPROVISIONED status. Deactivation of a user is an asynchronous operation that cannot be recovered. See Deactivate User for more information on deactivating users.

Options

Field Definition Type Required
Send Email? Choose Yes to send a deactivation message to the administrator; No, otherwise. Dropdown TRUE

Input

Field Definition Type Required
ID or Login ID or login of the Okta user. Login is in email address format. String TRUE

Output

Field Definition Type
Status Code

The status code returned by the API:

  • 200: Successful deactivation
  • 404: Invalid ID; either the ID is incorrect or that user has already been deactivated.
Number

Related topics

Okta connector

About the elements of Okta Workflows

Okta API