Users API: Get list of activated and deactivated users

Status: Idea Submitted

I export a number of deals and users for the purposes of a dashboard that joins with data outside of hubspot. Unfortunately, I cannot tell if a user has left the business as there are no custom fields for users and it is not possible to query whether a user has been deactivated.

I can see this has been asked on the community forum before, but evidently has not made it to the ideas board.

https://community.hubspot.com/t5/APIs-Integrations/Get-deactivated-User-List/m-p/229326

https://community.hubspot.com/t5/APIs-Integrations/Can-I-check-whether-a-user-account-is-activated-or-deactivated/td-p/508645

Could you please add an API endpoint that would let me know which users are active and which are not?

Many thanks

Super important, please consider enabling this.

+1

HubSpot, get on this. Your customers have user access audits to perform and providing basic data such as first and last name, active/inactive, last login time, permissions, 2FA enabled would be rather helpful. You API today (2023-11-21) won’t even tell me if a user is deactivated or not…

+1 Please add this functionality, it is important to see deactivated accounts for us

+1 this makes us a lot of problems with customers. please assist.

2024-04-02, same issue, can’t do the user audit

The workaround that I found for this was to use the owners api.

I’m not 100% sure if this works in all cases, but this was what worked for our situation.

You can get all owners where the archived = ‘true’ or ‘false’. ‘True’ = active, ‘false’ = deactivated.

YMMV

JFranklin2 -- great workaround thanks! I have be struggling to make this work with the users endpoints.