---
title: "Update group network associations"
method: PUT
path: "/groups/{groupId}/networks"
tags: ["Group"]
---

# Update group network associations

`PUT /groups/{groupId}/networks`

Updates a group's network associations following the roster ingestion pattern. Associates a group with one or more networks, creating or updating TenantGroupNetwork relationships.

## Path parameters

- `groupId` string, required

## Headers

- `tenant-id` string

## Request body

- UpdateGroupNetworksRequest — Request to update a group's network associations
  - `networks` UpdateGroupNetworkRequest[], required — List of networks to associate with this group
    - `networkId` string, required — ID of the network
    - `networkData` JsonNode
      - `empty` boolean
      - `valueNode` boolean
      - `containerNode` boolean
      - `missingNode` boolean
      - `array` boolean
      - `object` boolean
      - `nodeType` 'ARRAY' | 'BINARY' | 'BOOLEAN' | 'MISSING' | 'NULL' | 'NUMBER' | 'OBJECT' | 'POJO' | 'STRING'
      - `pojo` boolean
      - `number` boolean
      - `integralNumber` boolean
      - `floatingPointNumber` boolean
      - `short` boolean
      - `int` boolean
      - `long` boolean
      - `float` boolean
      - `double` boolean
      - `bigDecimal` boolean
      - `bigInteger` boolean
      - `textual` boolean
      - `boolean` boolean
      - `null` boolean
      - `binary` boolean

## Response `200`

Successfully updated group network associations

- GroupNetworkUpdateResponse — Response containing updated group-network associations
  - `tenantGroupId` string — ID of the tenant group
  - `networkAssociations` NetworkAssociationResult[] — List of updated network associations
    - `networkId` string — ID of the network
    - `tenantGroupNetworkId` string — ID of the tenant group network association
    - `status` string — Indicates if this was a new association or an update

## Other responses

- `400` — Bad request - Invalid input or validation error
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Group or network not found
- `500` — Internal server error

---

[API](https://skmtc.net/certifyos/apis/certify-api-layer.md) · [All operations](https://skmtc.net/certifyos/apis/certify-api-layer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/certifyos/certify-api-layer/revisions/3d27e9019c7b/schema)
