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

# Delete Domain Service (DELETE Resource)

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

The Delete Domain Service operation deletes an existing Domain Service.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `202`

HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously.

## Other responses

- `204` — HTTP 204 (Not Content) should be used if the resource does not exist and the request is well formed.
- `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)
