---
title: "PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}"
method: PATCH
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}"
tags: ["Resource"]
---

# PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}

`PATCH /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}`

Update the metadata of a service instance.

## Path parameters

- `resourceGroupName` string, required
- `resourceName` string, required

## Parameters

- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Request body

- ServicesPatchDescription — The description of the service.
  - `tags` object — Instance tags
  - `properties` ServicesPropertiesUpdateParameters — The properties for updating a service instance.
    - `publicNetworkAccess` 'Enabled' | 'Disabled' — Control permission for data plane traffic coming from public networks while private endpoint is enabled.

## Response `200`

The tags for the resource were updated successfully.

- ServicesDescription — The common properties of a service.
  - `id` string — The resource identifier.
  - `name` string — The resource name.
  - `type` string — The resource type.
  - `kind` 'fhir' | 'fhir-Stu3' | 'fhir-R4', required — The kind of the service.
  - `location` string, required — The resource location.
  - `tags` object — The resource tags.
  - `etag` string — An etag associated with the resource, used for optimistic concurrency when editing it.
  - `identity` object — Setting indicating whether the service has a managed identity associated with it.
    - `principalId` string — The principal ID of the resource identity.
    - `tenantId` string — The tenant ID of the resource.
    - `type` 'SystemAssigned' | 'None' — Type of identity being specified, currently SystemAssigned and None are allowed.

## Other responses

- `default` — DefaultErrorResponse

---

[API](https://skmtc.net/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis.md) · [All operations](https://skmtc.net/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/healthcareapis-microsoft-healthcareapis-healthcareapis/revisions/0b492d344582/schema)
