---
title: "Patch a given account"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}"
tags: ["Account"]
---

# Patch a given account

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataShare/accounts/{accountName}`

Patch an account

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `accountName` string, required

## Query parameters

- `api-version` string, required

## Request body

- AccountUpdateParameters — Update parameters for accounts
  - `tags` object — Tags on the azure resource.

## Response `200`

Success

- Account — Base data transfer object implementation for proxy resources.
  - `id` string — The resource id of the azure resource
  - `name` string — Name of the azure resource
  - `systemData` SystemData — Metadata pertaining to creation and last modification of the resource.
    - `createdAt` string, date-time — The timestamp of resource creation (UTC).
    - `createdBy` string — The identity that created the resource.
    - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that created the resource.
    - `lastModifiedAt` string, date-time — The type of identity that last modified the resource.
    - `lastModifiedBy` string — The identity that last modified the resource.
    - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key' — The type of identity that last modified the resource.
  - `type` string — Type of the azure resource

## Other responses

- `default` — An error response received from the Microsoft.DataShare resource provider.

---

[API](https://skmtc.net/azure/apis/datashare-microsoft-datashare-datashare.md) · [All operations](https://skmtc.net/azure/apis/datashare-microsoft-datashare-datashare/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/datashare-microsoft-datashare-datashare/versions/71841497c018/schema)
