---
title: "Add a connection to the target group."
method: PUT
path: "/api/hubs/{hub}/groups/{group}/connections/{connectionId}"
tags: ["webpubsub"]
---

# Add a connection to the target group.

`PUT /api/hubs/{hub}/groups/{group}/connections/{connectionId}`

Add a connection to the target group.

## Path parameters

- `hub` string, required
- `group` string, required
- `connectionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

## Other responses

- `default` — The error response.

---

[API](https://skmtc.net/azure/apis/webpubsub-webpubsub.md) · [All operations](https://skmtc.net/azure/apis/webpubsub-webpubsub/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/webpubsub-webpubsub/versions/3c12a9fc6305/schema)
