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.

Options

  • Send Email? (drop-down): send a deactivation message to the administrator
    • Yes
    • No

For more detail on these options, or additional info regarding deactivating users in Okta, reference this documentation.

Input

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

Output

  • Response
    • Status Code (number): status code returned by the API:
      • 200: Successful deactivation
      • 404: Invalid ID–either the ID is incorrect or that user has already been deactivated