# Activate and Deactivate users via API

**URL:** <https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298>\
**Category:** HubSpot Ideas\
**Tags:** api\
**Created:** [October 13, 2021, 3:15pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298 "2021-10-13T15:15:16Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![BTeres](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bteres/32/102498_2.png) [@BTeres](https://community.hubspot.com/u/BTeres)\
**Post date:** [October 13, 2021, 3:15pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/1 "2021-10-13T15:15:16Z")

</div>

This feature is for developers.

I’d like to set/unset active/inactive status via API, as well as retrieve this data when querying users via API. Currently, this information is omitted and is limited to UI only.

Our use case is for automating employee account management for our company’s internal system.

Github, Confluence, and Atlassian all have more robust user management API features.

Thank you for looking into this.

---

<div class="post-metadata">

**Author:** ![jayfath](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jayfath/32/2490_2.png) [@jayfath](https://community.hubspot.com/u/jayfath)\
**Post date:** [October 15, 2021, 4:01pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/2 "2021-10-15T16:01:23Z")

</div>

A feature with which you could see the status invited/pending etc via the API would be very helpful.

---

<div class="post-metadata">

**Author:** ![yoshiakin](https://avatars.discourse-cdn.com/v4/letter/y/df788c/32.png) [@yoshiakin](https://community.hubspot.com/u/yoshiakin)\
**Post date:** [February 15, 2023, 1:06pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/3 "2023-02-15T13:06:07Z")

</div>

Totally agree. At least being able to retrieve the user status (active/inactive) via API would be great. The ability to set can follow

---

<div class="post-metadata">

**Author:** ![CRosenberg0](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@CRosenberg0](https://community.hubspot.com/u/CRosenberg0)\
**Post date:** [March 14, 2023, 8:14am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/4 "2023-03-14T08:14:47Z")

</div>

Super important, please consider enabling this.

---

<div class="post-metadata">

**Author:** ![DiepThienLong](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@DiepThienLong](https://community.hubspot.com/u/DiepThienLong)\
**Post date:** [November 6, 2023, 6:14am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/5 "2023-11-06T06:14:01Z")

</div>

Is there a way to get the user status (active/inactive) via API or check the invite status via API yet?  
dear [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)

---

<div class="post-metadata">

**Author:** ![SCarmel](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/scarmel/32/43030_2.png) [@SCarmel](https://community.hubspot.com/u/SCarmel)\
**Post date:** [December 19, 2023, 6:06pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/6 "2023-12-19T18:06:50Z")

</div>

A critical, super-important feature.

---

<div class="post-metadata">

**Author:** ![kishan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/kishan/32/92797_2.png) [@kishan](https://community.hubspot.com/u/kishan)\
**Post date:** [March 20, 2024, 11:24am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/7 "2024-03-20T11:24:57Z")

</div>

A super-critical, super-important feature.

---

<div class="post-metadata">

**Author:** ![GGam](https://avatars.discourse-cdn.com/v4/letter/g/e495f1/32.png) [@GGam](https://community.hubspot.com/u/GGam)\
**Post date:** [May 28, 2024, 8:34pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/8 "2024-05-28T20:34:07Z")

</div>

This is such an important missing feature. There is an endpoint to delete a user but it’s very aggressive when you want to keep the user for historical purposes

---

<div class="post-metadata">

**Author:** ![ARegistration](https://avatars.discourse-cdn.com/v4/letter/a/b5e925/32.png) [@ARegistration](https://community.hubspot.com/u/ARegistration)\
**Post date:** [June 14, 2024, 11:18am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/9 "2024-06-14T11:18:06Z")

</div>

I don’t understand why HubSpot is missing these properties in the API. In my case, I tried to list all the users of the account using the users API ([https://api.hubspot.com/settings/v3/users](https://api.hubspot.com/settings/v3/users)). It is almost useless since it doesn’t have the isPending or isActive properties.

@hubspot, [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) @, is there any possibility of getting these properties added to the users API soon?

---

<div class="post-metadata">

**Author:** ![BCarter80](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@BCarter80](https://community.hubspot.com/u/BCarter80)\
**Post date:** [July 3, 2024, 12:22pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/10 "2024-07-03T12:22:19Z")

</div>

This would be a really helpful feature for our company. We have quite a lot of users and we need to be able to automate our onboarding and offboarding to save the IT team time. Doing this through the API would be really beneficial. I can imagine there are other larger companies in the same position.

---

<div class="post-metadata">

**Author:** ![rashidshamsi](https://avatars.discourse-cdn.com/v4/letter/r/3bc359/32.png) [@rashidshamsi](https://community.hubspot.com/u/rashidshamsi)\
**Post date:** [August 21, 2024, 5:43pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/11 "2024-08-21T17:43:59Z")

</div>

This feature is crucial for us, as we disable user accounts and need the ability to automatically deactivate users in HubSpot. Without this capability, the user provisioning API falls short of meeting our requirements for effective account management. Integrating this feature would greatly enhance our workflow.

---

<div class="post-metadata">

**Author:** ![SLightcap](https://avatars.discourse-cdn.com/v4/letter/s/c6cbf5/32.png) [@SLightcap](https://community.hubspot.com/u/SLightcap)\
**Post date:** [August 26, 2024, 2:05pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/12 "2024-08-26T14:05:14Z")

</div>

Hi, the owner API lets you retrieve active/inactive users. I don’t know if you can set/unset their status though. My company also automates internal employee systems and found that the owner API at least gets us halfway there now by showing the status of each employee.

There are some quirks like having to run two requests (active/inactive users):  
[https://community.hubspot.com/t5/APIs-Integrations/Owners-API-return-just-archived-false-owners/m-p/981847](https://community.hubspot.com/t5/APIs-Integrations/Owners-API-return-just-archived-false-owners/m-p/981847)

---

<div class="post-metadata">

**Author:** ![baernhardj](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/baernhardj/32/72679_2.png) [@baernhardj](https://community.hubspot.com/u/baernhardj)\
**Post date:** [January 14, 2025, 1:19pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/13 "2025-01-14T13:19:50Z")

</div>

Hi

There is a new API to get user information.

[https://developers.hubspot.com/docs/guides/api/settings/users/user-details](https://developers.hubspot.com/docs/guides/api/settings/users/user-details)

or

[https://developers.hubspot.com/docs/reference/api/settings/users/user-details](https://developers.hubspot.com/docs/reference/api/settings/users/user-details)

To retrieve a list of all available user properties, you can use the properties API by making a GET request to

crm/v3/properties/user

.

With this API you can read the property ‘hs\_deactivated’, but this is a readonly property.

We need the ability to activate / deactivate a user as well. This is not solved yet.

---

<div class="post-metadata">

**Author:** ![SWJSmith](https://avatars.discourse-cdn.com/v4/letter/s/ecc23a/32.png) [@SWJSmith](https://community.hubspot.com/u/SWJSmith)\
**Post date:** [February 20, 2025, 3:41pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/14 "2025-02-20T15:41:39Z")

</div>

Fully Agree we need to be able to control active / suspend users via API as its a basic ask as we look to reduce the number of super admins and move to automation platforms to manage our base user activation / suspensions across the company, shocked to find this wasn’t included when you can change teams / permissions via it.

---

<div class="post-metadata">

**Author:** ![hannalofving](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/hannalofving/32/104050_2.png) [@hannalofving](https://community.hubspot.com/u/hannalofving)\
**Post date:** [February 24, 2025, 7:14am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/15 "2025-02-24T07:14:37Z")

</div>

+1 on this. To only be able to remove users through the API is not enough, please activate write to the hs\_deactivated property!

---

<div class="post-metadata">

**Author:** ![ID\_1](https://avatars.discourse-cdn.com/v4/letter/i/439d5e/32.png) [@ID\_1](https://community.hubspot.com/u/ID_1)\
**Post date:** [March 17, 2025, 7:09pm UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/16 "2025-03-17T19:09:40Z")

</div>

This is a super important feature. Many other CRM platforms offer these API endpoints. Major drawback IMO. This update needs to be communicated as soon as possible!

---

<div class="post-metadata">

**Author:** ![JChlostaGS](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jchlostags/32/76793_2.png) [@JChlostaGS](https://community.hubspot.com/u/JChlostaGS)\
**Post date:** [June 11, 2025, 9:47am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/17 "2025-06-11T09:47:40Z")

</div>

+1. That feature would be really useful

---

<div class="post-metadata">

**Author:** ![MBU\_RE](https://avatars.discourse-cdn.com/v4/letter/m/a9a28c/32.png) [@MBU\_RE](https://community.hubspot.com/u/MBU_RE)\
**Post date:** [August 19, 2025, 11:02am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/18 "2025-08-19T11:02:24Z")

</div>

+1 we also would like to see that happening (and - off topic - additionally being able to build workflows based on the user status)

---

<div class="post-metadata">

**Author:** ![J\_H](https://avatars.discourse-cdn.com/v4/letter/j/ed655f/32.png) [@J\_H](https://community.hubspot.com/u/J_H)\
**Post date:** [July 20, 2026, 9:21am UTC](https://community.hubspot.com/t/activate-and-deactivate-users-via-api/45298/19 "2026-07-20T09:21:25Z")

</div>

At this point, since this has been asked for, for 3 years so far, its safe to assume that Hubspot has no intention to make this available via the API. I cannot guess the reason why, other than, papercut income. People are missed and their seat stays active another month. Every other major tool has this ability via API.
