---
title: "Check if there are any client connections connected for the given user."
method: HEAD
path: "/api/hubs/{hub}/users/{userId}"
tags: ["webpubsub"]
---

# Check if there are any client connections connected for the given user.

`HEAD /api/hubs/{hub}/users/{userId}`

## Path parameters

- `hub` string, required
- `userId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

Success

## Other responses

- `404` — Not Found
- `default` — Error response

---

[API](https://skmtc.net/azure/apis/azure-web-pubsub-service-rest-api.md) · [All operations](https://skmtc.net/azure/apis/azure-web-pubsub-service-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/azure-web-pubsub-service-rest-api/versions/a1fc29b91d68/schema)
