---
title: "PATCH /{resourceId}"
method: PATCH
path: "/{resourceId}"
tags: ["Resources"]
---

# PATCH /{resourceId}

`PATCH /{resourceId}`

Updates a resource by ID.

## Path parameters

- `resourceId` string, required

## Query parameters

- `api-version` string, required

## Request body

- GenericResource — Specified resource.
  - `id` string — Resource ID
  - `name` string — Resource name
  - `type` string — Resource type
  - `location` string — Resource location
  - `tags` object — Resource tags

## Response `200`

OK - Returns information about the resource.

- GenericResource — Specified resource.
  - `id` string — Resource ID
  - `name` string — Resource name
  - `type` string — Resource type
  - `location` string — Resource location
  - `tags` object — Resource tags

## Other responses

- `202` — Accepted
- `default` — Error response describing why the operation failed.

---

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