---
title: "Deletes the specified container service."
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}"
tags: ["ContainerService"]
---

# Deletes the specified container service.

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/containerServices/{containerServiceName}`

Deletes the specified container service in the specified subscription and resource group. The operation does not delete other resources created as part of creating a container service, including storage accounts, VMs, and availability sets. All the other resources created with the container service are part of the same resource group and can be deleted individually.

## Path parameters

- `resourceGroupName` string, required
- `containerServiceName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `202`

Accepted

## Other responses

- `204` — Not found

---

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