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

  • Send Email?(drop-down): Choose Yes to send a deactivation message to the administrator; No, otherwise.

Input

  • User

    • ID or Login(string): ID or login of the Okta user. Login is in email address format.

Output

  • Response

    • Status Code(number): 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.

See also