Services - Delete

Delete a service instance.

DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HealthcareApis/services/{resourceName}?api-version=2022-06-01

URI Parameters

Name In Required Type Description
resourceGroupName
path True

string

The name of the resource group that contains the service instance.

Regex pattern: ^[-\w\._\(\)]+$

resourceName
path True

string

The name of the service instance.

subscriptionId
path True

string

The subscription identifier.

api-version
query True

string

Client Api Version.

Responses

Name Type Description
202 Accepted

Accepted - Delete request accepted; the operation will complete asynchronously.

204 No Content

The resource does not exist.

Other Status Codes

ErrorDetails

DefaultErrorResponse

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Examples

Delete service

Sample request

DELETE https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HealthcareApis/services/service1?api-version=2022-06-01

Sample response

Azure-AsyncOperation: https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.HealthcareApis/locations/westus/operationresults/f7eb8g4f1ncj3jgk6bg8jlqf8?api-version=2022-06-01

Definitions

Name Description
ErrorDetails

Error details.

ErrorDetailsInternal

Error details.

ErrorDetails

Error details.

Name Type Description
error

ErrorDetailsInternal

Error details

ErrorDetailsInternal

Error details.

Name Type Description
code

string

The error code.

message

string

The error message.

target

string

The target of the particular error.