---
title: "Update a partner namespace."
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}"
tags: ["PartnerNamespaces"]
---

# Update a partner namespace.

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerNamespaces/{partnerNamespaceName}`

Asynchronously updates a partner namespace with the specified parameters.

## Path parameters

- `partnerNamespaceName` string, required

## Parameters

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

## Request body

- PartnerNamespaceUpdateParameters — Properties of the Partner Namespace update.
  - `tags` object — Tags of the Partner Namespace.
  - `properties` PartnerNamespaceUpdateParameterProperties — Information of Partner Namespace update parameter properties.
    - `publicNetworkAccess` 'Enabled' | 'Disabled' | 'SecuredByPerimeter' — This determines if traffic is allowed over public network. By default it is enabled. You can further restrict to specific IPs by configuring <seealso cref="P:Microsoft.Azure.Events.ResourceProvider.Common.Contracts.PartnerNamespaceUpdateParameterProperties.InboundIpRules" />
    - `inboundIpRules` InboundIpRule[] — This can be used to restrict traffic from specific IPs instead of all IPs. Note: These are considered only if PublicNetworkAccess is enabled.
      - `ipMask` string — IP Address in CIDR notation e.g., 10.0.0.0/8.
      - `action` 'Allow' — Action to perform based on the match or no match of the IpMask.
    - `minimumTlsVersionAllowed` '1.0' | '1.1' | '1.2' — Minimum TLS version of the publisher allowed to publish to this domain
    - `disableLocalAuth` boolean — This boolean is used to enable or disable local auth. Default value is false. When the property is set to true, only Microsoft Entra ID token will be used to authenticate if user is allowed to publish to the partner namespace.

## Response `200`

OK

## Other responses

- `201` — Partner namespace update request accepted.
- `default` — Error response returned if request was unsuccessful.

## Changes

- **2026-07-13** (2017-06-15-preview) `285f714f3339` — 2 warning
  - the optional response header `Location` removed for the status `201`
  - the optional response header `Retry-After` removed for the status `201`
- **2026-07-13** (2017-06-15-preview) `6114a105ef69` — 3 warning
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`
- **2026-07-13** (2017-06-15-preview) `b741dd313024` — 1 info
  - endpoint added
- **2026-07-13** (2017-06-15-preview) `367a64367f27` — 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2017-06-15-preview) `04232a2819a1` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/azure/apis/eventgrid-microsoft-eventgrid-eventgrid/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventGrid/partnerNamespaces/:partnerNamespaceName/patch.md)

---

[API](https://skmtc.dev/azure/apis/eventgrid-microsoft-eventgrid-eventgrid.md) · [All operations](https://skmtc.dev/azure/apis/eventgrid-microsoft-eventgrid-eventgrid/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/eventgrid-microsoft-eventgrid-eventgrid/revisions/285f714f3339/schema)
