---
title: "Update access group"
method: PUT
path: "/access-groups/{accessGroupId}/content"
tags: ["Access Group"]
---

# Update access group

`PUT /access-groups/{accessGroupId}/content`

The ability to update an access group's name and add or remove an account

## Path parameters

- `accessGroupId` string, required

## Request body

- AccountAccessGroupRequest
  - `action` 'ADD' | 'REMOVE' — Action to apply for the supplied account bid
  - `accountIds` string[] — Bids of the accounts to be added/removed
  - `beneficiaryIds` string[] — Bids of the beneficiaries to be added/removed
  - `name` string — The name of the account group to create. Must match: [\w \-]*

## Response `200`

OK

- AccountAccessGroupResponse — AccessGroup
  - `id` string — Unique ID for the access group
  - `name` string — Access group name
  - `type` 'SERVICE_PARTNER' | 'SERVICE_CUSTOMER' | 'DELEGATE' | 'USER_DEFINED' — The type of access group
  - `typeId` string — The identifier of the linked entity implied by the type, e.g. the partner ID
  - `status` 'ACTIVE' | 'DELETED' — Status of the access group
  - `countOfAccounts` integer — The number of accounts in this group

## Other responses

- `400` — Validation errors

---

[API](https://skmtc.net/modulrfinance/apis/modulr-api.md) · [All operations](https://skmtc.net/modulrfinance/apis/modulr-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modulrfinance/modulr-api/revisions/cbd52524c8ef/schema)
