---
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, creating group-location–network membership records. Use this endpoint after the group location has been added to the group (via POST /groups/{groupId}/locations); call once per set of networks to associate, and use PATCH /groups/locations/{locationId}/networks to update effective dates on existing associations. Not idempotent — if an active association between this location and a requested network already exists, the server returns 409 Conflict rather than silently succeeding; resolve or terminate the existing association first.

## 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` object — Network association data (effectiveDate, terminationDate, status, etc.)

## 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
- `409` — Active network association already exists
- `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/revisions/563848e0ecc0/schema)
