Update Collection
bitwarden.update_collection
ActionBusiness appsconnection required
Calls the Bitwarden API with the connection's credentials.
Replace a collection's group assignments and external id; properties this node does not send are reset by Bitwarden.
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
3 fields, 1 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 |
|---|---|---|---|---|---|
collection_id The collection to act on, by its Bitwarden collection id. | string | Yes | — | — | 539a36c5-e0d2-4cf9-979e-51ecf5cf6593 |
groups Group assignments as a JSON array: each entry is an object with 'id' and 'readOnly', optionally 'hidePasswords' and 'manage'. | array | No | — | — | [{"id":"bfbc8338-e329-4dc0-b0c9-317c2ebf1a09","readOnly":true}] |
external_id External identifier linking this record to another system, such as a user directory. | string | No | — | ≤ 300 characters | external_id_123456 |
- At least one of groups, external_id must be set.
Example configuration
Every value below is the contract’s own example or default — nothing invented.
{
"collection_id": "539a36c5-e0d2-4cf9-979e-51ecf5cf6593",
"external_id": "external_id_123456",
"groups": [
{
"id": "bfbc8338-e329-4dc0-b0c9-317c2ebf1a09",
"readOnly": true
}
]
}Output
One shape.
result
| Field | Type | Example |
|---|---|---|
object Always 'collection' for this response. | string | — |
id The collection's unique identifier. | string | — |
externalId The collection's external identifier, if it has one. | string | — |
groups The groups this collection is assigned to, with permissions. | array | — |
{
"externalId": "",
"groups": [],
"id": "",
"object": ""
}Notes
- Bitwarden replaces the object: any property this node does not send is reset.
See Update Collection 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.