---
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}`

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

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

The request has succeeded.

## Other responses

- `404` — The server cannot find the requested resource.
- `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)
