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 URLhttps://your-subdomain.okta.com
- AuthAPI 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.