Delete User

Delete a deactivated Okta user by ID.

If you use this action on an active Okta user, the user will be deactivated and a second Delete User action is necessary to delete the user. See the Delete User API reference.

Scopes

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

Input

Field Definition Type Required
ID ID of the Okta user.

Text

TRUE

Send Email? Send a deactivation email to the administrator if true.

True/False

FALSE

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