API User status: Deactivated, Suspended, Active

Problem
Using Cloud API’s I need to get the status from users

Fetching users from the Jira Cloud API one get a boolean is_active status, but is it possible with any Jira Cloud APIs to the little more informative user status: Deactivated | Suspended | Active | …
(which is presented in the jira webapp)

Does anyone know?

Best Regards
Brian…

You might be able to gleam a little more info by using the user management REST API. The account_status property returns active, inactive or closed.

There’s also an experimental endpoint that returns all of the above plus isSuspended in case your instance has migrated to the new user management experience.

One thing to keep in mind though is that you need an org admin to create an API key for authentication which is different from a regular API token.

1 Like

Succeed to find the bits in the documentation!

Thank you very much!!