How to check user is active or inactive in rest response

How to check status of user means user is active or inactive.

You can use the “Get User” API to fetch the user via login/id.
The response will have a field called “Status” which indicates if the user is active or not.

Reference - https://developer.okta.com/docs/api/resources/users.html#get-user