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

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

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

Checks the quota and actual usage of endpoints under the given CDN profile.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Response `200`

OK. The request has succeeded.

- ResourceUsageListResult — Output of check resource usage API.
  - `value` ResourceUsage[] — List of resource usages.
    - `resourceType` string — Resource type for which the usage is provided.
    - `unit` string — Unit of the usage. e.g. Count.
    - `currentValue` integer — Actual value of usage on the specified resource type.
    - `limit` integer — Quota of the specified resource type.
  - `nextLink` string — URL to get the next set of custom domain objects if there are any.

## Other responses

- `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)
