---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}"
tags: ["Fleets"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/fleets/{fleetName}`

Update a Fleet

## Path parameters

- `fleetName` string, required

## Headers

- `If-Match` string

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

- FleetPatch — Properties of a Fleet that can be patched.
  - `tags` object — Resource tags.
  - `identity` ManagedServiceIdentity — unresolved $ref

## Response `200`

Azure operation completed successfully.

- Fleet — unresolved $ref

## Other responses

- `202` — Resource update request accepted.
- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2022-06-02-preview) `7e6da3d35565` — 1 info
  - added the success response with the status `202`

[Change history](https://skmtc.dev/azure/apis/containerservice-microsoft-containerservice-fleet/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.ContainerService/fleets/:fleetName/patch.md)

---

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