APIs & Integrations

BTeres
Member

Can I check whether a user account is activated or deactivated using the user-provisioning API?

SOLVE

I'd like to get the status of a user account (activated/deactivated) using the Users API (https://developers.hubspot.com/docs/api/settings/user-provisioning). This doesn't currently seem possible. I plan to use a workaround by assigning all deactivated users to a Role that I can check for, but this solution is not ideal.

 

Furthermore, is there any way to set/unset active/inactive status via API?

 

Thanks

0 Upvotes
1 Accepted solution
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Can I check whether a user account is activated or deactivated using the user-provisioning API?

SOLVE

@BTeres 

I do not believe there is a solution for what you need that is out of the box 😥

I can say that this API is relatively new and I would expect additional functionality to be added.  I would suggest creating an idea and placing on the ideas board with a use case scenario

View solution in original post

1 Reply 1
dennisedson
Solution
HubSpot Product Team
HubSpot Product Team

Can I check whether a user account is activated or deactivated using the user-provisioning API?

SOLVE

@BTeres 

I do not believe there is a solution for what you need that is out of the box 😥

I can say that this API is relatively new and I would expect additional functionality to be added.  I would suggest creating an idea and placing on the ideas board with a use case scenario