---
title: "DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}"
method: DELETE
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}"
tags: ["Profiles"]
---

# DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}

`DELETE /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Cdn/profiles/{profileName}`

Deletes an existing CDN profile with the specified parameters. Deleting a profile will result in the deletion of all of the sub-resources including endpoints, origins and custom domains.

## Path parameters

- `resourceGroupName` string, required
- `profileName` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `202`

Accepted. The request has been accepted for processing and the operation will complete asynchronously.

## Other responses

- `204` — No Content. The request has been accepted but the profile was not found.
- `default` — CDN error response describing why the operation failed.

---

[API](https://skmtc.net/azure/apis/cdnmanagementclient.md) · [All operations](https://skmtc.net/azure/apis/cdnmanagementclient/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/cdnmanagementclient/versions/79811fa5f3ee/schema)
