Skip to main content

Update an account group

PUT 

/:workspace/account-groups/:accountGroup

Renames an account group, changes its accounts, or both. Only the fields sent are changed: sending only name keeps the accounts, and sending only accounts keeps the name. accounts replaces the whole set, so to add or remove one account send the group's current account_ids with that change; an empty array empties the group. Returns the updated group. Requires the ADMIN or MEMBER workspace role; the VIEWER role receives 403.

Request​

Responses​

The updated account group. Bare object, not wrapped in data.