Deactivate User
Description
This step deactivates a user account in Workplace. You provide the user's ID or email. The account is disabled but not deleted. Use this step in offboarding workflows that revoke Workplace access for departing employees, or in security workflows that suspend accounts that need investigation.
References:
-
API Documentation:
https://developers.facebook.com/docs/workplace/reference/account-management-api/scim-v2#deactivatingaccount
Configurations
| No. | Field Name | Description |
|---|---|---|
| 1 | Step Name | Name of the step. This name must be unique in a single workflow. |
| Connection: | ||
| 2 | Accept value as variable/static | Leave checkbox unchecked to accept an Access Token from a field in previous steps via a drop‑down list. Enable the checkbox to display the Access Token field as a text box. |
| 3 | Access Token | Provide the Access Token generated in the Workplace instance. If Accept value as variable/static is selected, the field appears as a text box and accepts static values or variables. Otherwise, select from the drop‑down. Data type: String Mandatory |
| 4 | Test Connection | Verifies whether the connection is established. |
Input Tab
| No. | Field Name | Description |
|---|---|---|
| 1 | Email Address/ID | Specify or select the email address or ID of the user account to deactivate. Data type: String Mandatory |
| 2 | Button: Get | Click to populate the list of users. |