---
title: "Update Domain Service (PATCH Resource)"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}"
tags: ["DomainServices"]
---

# Update Domain Service (PATCH Resource)

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AAD/domainServices/{domainServiceName}`

The Update Domain Service operation can be used to update the existing deployment. The update call only supports the properties listed in the PATCH body.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `domainServiceName` string, required

## Query parameters

- `api-version` string, required

## Request body

- DomainService — The Resource model definition.
  - `id` string — Resource Id
  - `name` string — Resource name
  - `type` string — Resource type
  - `location` string — Resource location
  - `tags` object — Resource tags
  - `etag` string — Resource etag

## Response `200`

HTTP 200 (OK) if the operation was successful.

- DomainService — The Resource model definition.
  - `id` string — Resource Id
  - `name` string — Resource name
  - `type` string — Resource type
  - `location` string — Resource location
  - `tags` object — Resource tags
  - `etag` string — Resource etag

## Other responses

- `202` — HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.
- `default` — Domain Service error response.

---

[API](https://skmtc.net/azure/apis/domain-services-resource-provider.md) · [All operations](https://skmtc.net/azure/apis/domain-services-resource-provider/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/domain-services-resource-provider/versions/b8358d9549ee/schema)
