---
title: "Associate a group location with networks"
method: POST
path: "/groups/locations/{locationId}/networks"
tags: ["Group"]
---

# Associate a group location with networks

`POST /groups/locations/{locationId}/networks`

Associates an existing group location with one or more networks.

## Path parameters

- `locationId` string, required

## Headers

- `tenant-id` string

## Request body

- AssociateGroupLocationNetworksRequest — Request to associate a group location with one or more networks
  - `networks` GroupLocationNetworkRequest[], required — List of networks to associate with the group location
    - `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 `201`

Group location successfully associated with networks

- AssociateGroupLocationNetworksResponse — Response for associating a group location with networks
  - `tenantGroupLocationId` string — ID of the group location
  - `networks` GroupLocationNetworkResponse[] — List of created/updated network associations
    - `networkId` string — ID of the network
    - `tenantGroupLocationNetworkId` string — ID of the created/updated tenant group location network association

## Other responses

- `400` — Invalid request body or missing required parameters
- `401` — Unauthorized - Authentication required
- `403` — Forbidden - Insufficient permissions
- `404` — Group location or network not found
- `500` — Internal server error during request processing

---

[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/versions/3d27e9019c7b/schema)
