---
title: "Update a counterparty group"
method: PATCH
path: "/counterparty_groups/{groupId}"
tags: ["Compliance"]
---

# Update a counterparty group

`PATCH /counterparty_groups/{groupId}`

## Request

- Base URL: `https://api.fireblocks.io/v1`
- URL: `https://api.fireblocks.io/v1/counterparty_groups/{groupId}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/fireblocks/apis/fireblocks-api/docs/counterparty_groups/:groupId/patch.ts> (a function with typed inputs; its response is checked against the schema)

Updates an existing counterparty group.

**Endpoint Permissions:** Admin, Non-Signing Admin.

## Path parameters

- `groupId` string, uuid, required

## Headers

- `Idempotency-Key` string

## Request body

- UpdateCounterpartyGroupRequest: Request body for updating an existing counterparty group
  - `name` string: Updated human-readable name of the group
  - `description` string: Updated description of the group
  - `jurisdictionCodes` string[]: Updated list of jurisdiction codes for the group
  - `isActive` boolean: Whether the counterparty group should be active

## Response `200`

Counterparty group updated successfully

- CounterpartyGroup: A counterparty group used to classify counterparties for compliance and routing purposes
  - `groupId` string, uuid, required: Unique identifier of the counterparty group
  - `name` string, required: Human-readable name of the group
  - `description` string: Optional description of the group
  - `jurisdictionCodes` string[]: List of jurisdiction codes associated with the group
  - `isActive` boolean, required: Whether the counterparty group is currently active
  - `createdAt` string, date-time, required: ISO 8601 timestamp when the group was created
  - `updatedAt` string, date-time, required: ISO 8601 timestamp when the group was last updated

## Other responses

- `404`: Counterparty group not found
- `default`: Error Response

---

[API](https://skmtc.dev/fireblocks/apis/fireblocks-api.md) - [All operations](https://skmtc.dev/fireblocks/apis/fireblocks-api/llms.txt) - [OpenAPI document](https://skmtc.dev/fireblocks/apis/fireblocks-api/revisions/4eba9965659a?raw)
