Set Member Groups
bitwarden.set_member_groups
ActionBusiness appsconnection required
Calls the Bitwarden API with the connection's credentials.
Replace a member's group memberships with exactly the group ids given; any group missing from the list loses this member.
Connection
- Required
- Yes — the node will not save without one
- Auth type
- OAuth 2.0
- Providers
- Bitwarden
- Secret shape
- the organization API key client_secret, or {"client_secret": "…"}
- Config it needs
- region, client_id, base_url, identity_url
- Resolved by
- config.connection_id, else node.connection_id
Configuration
2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.
| Field | Type | Required | Default | Constraints | Example |
|---|---|---|---|---|---|
member_id The member to act on — the organization member id, not the Bitwarden user id. | string | Yes | — | — | e68b8629-85eb-4929-92c0-b84464976ba4 |
group_ids The member's full group list as a JSON array of group ids; an empty array removes them from every group. | array | Yes | — | array of string | ["bfbc8338-e329-4dc0-b0c9-317c2ebf1a09"] |
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"group_ids": [
"bfbc8338-e329-4dc0-b0c9-317c2ebf1a09"
],
"member_id": "e68b8629-85eb-4929-92c0-b84464976ba4"
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
updated True once Bitwarden accepted the group list. | boolean | — |
member_id The member whose groups were replaced. | string | — |
group_ids The group ids that were sent. | array | — |
count How many group ids were sent. | number | — |
{
"count": 0,
"group_ids": [],
"member_id": "",
"updated": false
}Notes
- Bitwarden answers this call with an empty 200, so the output reports what was sent.
See Set Member Groups run in a workflow.
In a technical demo we add the Bitwarden connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.