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

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

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

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Create or update the metadata of a service instance.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Request body

- ServicesDescription: The description of the 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.
  - `properties` ServicesProperties: The properties of a service instance.
    - `provisioningState` 'Deleting' | 'Succeeded' | 'Creating' | 'Accepted' | 'Verifying' | 'Updating' | 'Failed' | 'Canceled' | 'Deprovisioned' | 'Moving' | 'Suspended' | 'Warned' | 'SystemMaintenance': The provisioning state.
    - `accessPolicies` ServiceAccessPolicyEntry[]: The access policies of the service instance.
      - `objectId` string, required: An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.
    - `cosmosDbConfiguration` ServiceCosmosDbConfigurationInfo: The settings for the Cosmos DB database backing the service.
      - `offerThroughput` integer: The provisioned throughput for the backing database.
      - `keyVaultKeyUri` string: The URI of the customer-managed key for the backing database.
      - `crossTenantCmkApplicationId` string: The multi-tenant application id used to enable CMK access for services in a data sovereign region.
    - `authenticationConfiguration` ServiceAuthenticationConfigurationInfo: Authentication configuration information
      - `authority` string: The authority url for the service
      - `audience` string: The audience url for the service
      - `smartProxyEnabled` boolean: If the SMART on FHIR proxy is enabled
    - `corsConfiguration` ServiceCorsConfigurationInfo: The settings for the CORS configuration of the service instance.
      - `origins` ServiceCorsConfigurationOriginEntry[]: The origins to be allowed via CORS.
      - `headers` ServiceCorsConfigurationHeaderEntry[]: The headers to be allowed via CORS.
      - `methods` ServiceCorsConfigurationMethodEntry[]: The methods to be allowed via CORS.
      - `maxAge` integer: The max age to be allowed via CORS.
      - `allowCredentials` boolean: If credentials are allowed via CORS.
    - `exportConfiguration` ServiceExportConfigurationInfo: Export operation configuration information
      - `storageAccountName` string: The name of the default export storage account.
    - `privateEndpointConnections` PrivateEndpointConnection[]: The list of private endpoint connections that are set up for this resource.
      - `id` string: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
      - `name` string: The name of the resource
      - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
      - `properties` PrivateEndpointConnectionProperties: Properties of the PrivateEndpointConnectProperties.
        - `privateEndpoint` PrivateEndpoint: The Private Endpoint resource.
          - `id` string: The ARM identifier for Private Endpoint
        - `privateLinkServiceConnectionState` PrivateLinkServiceConnectionState, required: A collection of information about the state of the connection between service consumer and provider.
          - `status` 'Pending' | 'Approved' | 'Rejected': The private endpoint connection status.
          - `description` string: The reason for approval/rejection of the connection.
          - `actionsRequired` string: A message indicating if changes on the service provider require any updates on the consumer.
        - `provisioningState` 'Succeeded' | 'Creating' | 'Deleting' | 'Failed': The current provisioning state.
    - `publicNetworkAccess` 'Enabled' | 'Disabled': Control permission for data plane traffic coming from public networks while private endpoint is enabled.
    - `acrConfiguration` ServiceAcrConfigurationInfo: Azure container registry configuration information
      - `loginServers` string[]: The list of the ACR login servers.
      - `ociArtifacts` ServiceOciArtifactEntry[]: The list of Open Container Initiative (OCI) artifacts.
        - `loginServer` string: The Azure Container Registry login server.
        - `imageName` string: The artifact name.
        - `digest` string: The artifact digest.
    - `importConfiguration` ServiceImportConfigurationInfo: Import operation configuration information
      - `integrationDataStore` string: The name of the default integration storage account.
      - `initialImportMode` boolean: If the FHIR service is in InitialImportMode.
      - `enabled` boolean: If the import operation is enabled.
  - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
    - `createdBy` string: The identity that created the resource.
    - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
    - `createdAt` string, date-time: The timestamp of resource creation (UTC).
    - `lastModifiedBy` string: The identity that last modified the resource.
    - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
    - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)

## Response `200`

Updated - Put request accepted and an existing resource is being updated; the operation will complete asynchronously.

- ServicesDescription: The description of the 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.
  - `properties` ServicesProperties: The properties of a service instance.
    - `provisioningState` 'Deleting' | 'Succeeded' | 'Creating' | 'Accepted' | 'Verifying' | 'Updating' | 'Failed' | 'Canceled' | 'Deprovisioned' | 'Moving' | 'Suspended' | 'Warned' | 'SystemMaintenance': The provisioning state.
    - `accessPolicies` ServiceAccessPolicyEntry[]: The access policies of the service instance.
      - `objectId` string, required: An Azure AD object ID (User or Apps) that is allowed access to the FHIR service.
    - `cosmosDbConfiguration` ServiceCosmosDbConfigurationInfo: The settings for the Cosmos DB database backing the service.
      - `offerThroughput` integer: The provisioned throughput for the backing database.
      - `keyVaultKeyUri` string: The URI of the customer-managed key for the backing database.
      - `crossTenantCmkApplicationId` string: The multi-tenant application id used to enable CMK access for services in a data sovereign region.
    - `authenticationConfiguration` ServiceAuthenticationConfigurationInfo: Authentication configuration information
      - `authority` string: The authority url for the service
      - `audience` string: The audience url for the service
      - `smartProxyEnabled` boolean: If the SMART on FHIR proxy is enabled
    - `corsConfiguration` ServiceCorsConfigurationInfo: The settings for the CORS configuration of the service instance.
      - `origins` ServiceCorsConfigurationOriginEntry[]: The origins to be allowed via CORS.
      - `headers` ServiceCorsConfigurationHeaderEntry[]: The headers to be allowed via CORS.
      - `methods` ServiceCorsConfigurationMethodEntry[]: The methods to be allowed via CORS.
      - `maxAge` integer: The max age to be allowed via CORS.
      - `allowCredentials` boolean: If credentials are allowed via CORS.
    - `exportConfiguration` ServiceExportConfigurationInfo: Export operation configuration information
      - `storageAccountName` string: The name of the default export storage account.
    - `privateEndpointConnections` PrivateEndpointConnection[]: The list of private endpoint connections that are set up for this resource.
      - `id` string: Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
      - `name` string: The name of the resource
      - `type` string: The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
      - `properties` PrivateEndpointConnectionProperties: Properties of the PrivateEndpointConnectProperties.
        - `privateEndpoint` PrivateEndpoint: The Private Endpoint resource.
          - `id` string: The ARM identifier for Private Endpoint
        - `privateLinkServiceConnectionState` PrivateLinkServiceConnectionState, required: A collection of information about the state of the connection between service consumer and provider.
          - `status` 'Pending' | 'Approved' | 'Rejected': The private endpoint connection status.
          - `description` string: The reason for approval/rejection of the connection.
          - `actionsRequired` string: A message indicating if changes on the service provider require any updates on the consumer.
        - `provisioningState` 'Succeeded' | 'Creating' | 'Deleting' | 'Failed': The current provisioning state.
    - `publicNetworkAccess` 'Enabled' | 'Disabled': Control permission for data plane traffic coming from public networks while private endpoint is enabled.
    - `acrConfiguration` ServiceAcrConfigurationInfo: Azure container registry configuration information
      - `loginServers` string[]: The list of the ACR login servers.
      - `ociArtifacts` ServiceOciArtifactEntry[]: The list of Open Container Initiative (OCI) artifacts.
        - `loginServer` string: The Azure Container Registry login server.
        - `imageName` string: The artifact name.
        - `digest` string: The artifact digest.
    - `importConfiguration` ServiceImportConfigurationInfo: Import operation configuration information
      - `integrationDataStore` string: The name of the default integration storage account.
      - `initialImportMode` boolean: If the FHIR service is in InitialImportMode.
      - `enabled` boolean: If the import operation is enabled.
  - `systemData` SystemData: Metadata pertaining to creation and last modification of the resource.
    - `createdBy` string: The identity that created the resource.
    - `createdByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that created the resource.
    - `createdAt` string, date-time: The timestamp of resource creation (UTC).
    - `lastModifiedBy` string: The identity that last modified the resource.
    - `lastModifiedByType` 'User' | 'Application' | 'ManagedIdentity' | 'Key': The type of identity that last modified the resource.
    - `lastModifiedAt` string, date-time: The timestamp of resource last modification (UTC)

## Other responses

- `201`: Created - Put request accepted and a new resource was created; the operation will complete asynchronously.
- `default`: DefaultErrorResponse

## Changes

- **2026-07-13** (2018-08-20-preview) `06ce885a3f23`: 2 breaking
  - added the new path request parameter `subscriptionId`
  - added the new required `query` request parameter `api-version`
- **2026-07-13** (2018-08-20-preview) `9fff36ce1f84`: 1 warning
  - deleted the `path` request parameter `resourceGroupName`
- **2026-07-13** (2018-08-20-preview) `e9a3134bbbf0`: 2 warning
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`

[Operation history](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.HealthcareApis/services/:resourceName/put.md)

---

[API](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis.md) - [All operations](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/healthcareapis-microsoft-healthcareapis-healthcareapis/revisions/06ce885a3f23?raw)
