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.

Scopes

See Action cards for the list of required OAuth scopes needed by this card.

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.

Text

TRUE

Output

Field Definition Type
Status Code

Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:

  • A 201 Created status code indicates success where a new resource was created.
  • A 403 Forbidden error indicates that the HTTP request wasn't processed because the necessary permissions were missing.

For a full list of possible status codes, see HTTP status codes.

Number

Related topics

Okta connector

Workflow elements

Guidance for Okta connector

Okta API documentation