---
title: "Update a partner configuration."
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerConfigurations/default"
tags: ["PartnerConfigurations"]
---

# Update a partner configuration.

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.EventGrid/partnerConfigurations/default`

Synchronously updates a partner configuration with the specified parameters.

## 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

- PartnerConfigurationUpdateParameters — Properties of the partner configuration update.
  - `tags` object — Tags of the partner configuration resource.
  - `properties` PartnerConfigurationUpdateParameterProperties — Information of partner configuration update parameter properties.
    - `defaultMaximumExpirationTimeInDays` integer — The default time used to validate the maximum expiration time for each authorized partners in days. Allowed values ar between 1 and 365 days.

## Response `200`

OK

- PartnerConfiguration — Definition of a Resource.
  - `id` string — Fully qualified identifier of the resource.
  - `name` string — Name of the resource.
  - `type` string — Type of the resource.

## Other responses

- `201` — Created
- `default` — *** Error Responses: *** * 400 Bad Request. * 500 Internal Server Error.

## Changes

- **2026-07-13** (2017-06-15-preview) `285f714f3339` — 1 warning
  - 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) `39ccb91290c2` — 1 info
  - endpoint added
- **2026-07-13** (2017-06-15-preview) `367a64367f27` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/eventgrid-microsoft-eventgrid-eventgrid/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.EventGrid/partnerConfigurations/default/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)
