User

Deactivate User

Deactivates a user. This operation can only be performed on users that do not have a DEPROVISIONED status. While the asynchronous operation (triggered by HTTP header Prefer: respond-async) is proceeding the user's transitioningToStatus property is DEPROVISIONED. The user's status is DEPROVISIONED when the deactivation process is complete.

post/api/v1/users/{userId}/lifecycle/deactivate

Request

  • Base URL
    https://your-subdomain.okta.com
  • Auth
    API key in header Authorization

Path parameters

userIdstring required

Query parameters

sendEmailboolean

Response

OK

Changes

No recorded changes to this operation across all 1 revision of this API.