# Update API User Provisioning with Deactivate user parameter

**URL:** <https://community.hubspot.com/t/update-api-user-provisioning-with-deactivate-user-parameter/49315>\
**Category:** HubSpot Ideas\
**Tags:** user-management-permissions\
**Created:** [January 6, 2022, 2:53pm UTC](https://community.hubspot.com/t/update-api-user-provisioning-with-deactivate-user-parameter/49315 "2022-01-06T14:53:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Herman](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/herman/32/17731_2.png) [@Herman](https://community.hubspot.com/u/Herman)\
**Post date:** [January 6, 2022, 2:53pm UTC](https://community.hubspot.com/t/update-api-user-provisioning-with-deactivate-user-parameter/49315/1 "2022-01-06T14:53:26Z")

</div>

- With the user provisioning API we can create users ([Accounts Dashboard | HubSpot](https://developers.hubspot.com/docs/api/settings/user-provisioning))
- In the HubSpot graphical interface we can deactivate manually users (instead of removing the user).

However the ability to modify a user with the API and deactivate that user would help in building better authentication integrations, where an HR platform is linked to HubSpot in order to create HubSpot users for employees.

Adding this as a parameter into the existing modify user API call would be the most easy solution.

 ![551305_1_Settings_API___User_Provisioning.jpg](https://d2qpr2jzcazej7.cloudfront.net/original/3X/9/8/988e32fd72da5e24d33d1aa6860bc01912fa0c32.jpeg)

---

<div class="post-metadata">

**Author:** ![rpiola](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rpiola/32/78078_2.png) [@rpiola](https://community.hubspot.com/u/rpiola)\
**Post date:** [August 19, 2024, 12:22pm UTC](https://community.hubspot.com/t/update-api-user-provisioning-with-deactivate-user-parameter/49315/2 "2024-08-19T12:22:52Z")

</div>

The inability to deactivate an user via API severly impacts ANY identity governance project… please att this possibility

---

<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:47pm UTC](https://community.hubspot.com/t/update-api-user-provisioning-with-deactivate-user-parameter/49315/3 "2025-02-20T15:47:09Z")

</div>

[https://community.hubspot.com/t5/HubSpot-Ideas/Activate-and-Deactivate-users-via-API/idi-p/509933](https://community.hubspot.com/t5/HubSpot-Ideas/Activate-and-Deactivate-users-via-API/idi-p/509933) also covers this topic so maybe worth upvoting on that as well
