---
title: "PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}"
method: PUT
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}"
tags: ["WebPubSubResources"]
---

# PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}

`PUT /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SignalRService/webPubSub/{resourceName}`

Create or update a resource.

## Path parameters

- `resourceName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v5/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref

## Request body

- WebPubSubResource — unresolved $ref

## Response `200`

Azure operation completed successfully.

- WebPubSubResource — unresolved $ref

## Other responses

- `201` — Resource 'WebPubSubResource' create operation succeeded
- `202` — The request has been accepted for processing, but processing has not yet completed.
- `default` — An unexpected error response.

---

[API](https://skmtc.net/azure/apis/webpubsub-microsoft-signalrservice-signalrservice.md) · [All operations](https://skmtc.net/azure/apis/webpubsub-microsoft-signalrservice-signalrservice/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/webpubsub-microsoft-signalrservice-signalrservice/revisions/70d32afea69e/schema)
