Microsoft Azure

Azure CDN

Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure.

Endpoints 48

Profiles

  • GETProfiles_List/subscriptions/:subscriptionId/providers/Microsoft.Cdn/profilesLists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within an Azure subscription.
  • GETProfiles_ListByResourceGroup/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profilesLists all of the Azure Front Door Standard, Azure Front Door Premium, and CDN profiles within a resource group.
  • GETProfiles_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileNameGets an Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and resource…
  • PUTProfiles_Create/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileNameCreates a new Azure Front Door Standard or Azure Front Door Premium or CDN profile with a profile name under the specified subscription and resource group.
  • DELETEProfiles_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileNameDeletes an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified parameters. Deleting a profile will result in the…
  • PATCHProfiles_Update/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileNameUpdates an existing Azure Front Door Standard or Azure Front Door Premium or CDN profile with the specified profile name under the specified subscription and…
  • POSTProfiles_CanMigrate/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/canMigrateChecks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
  • POSTProfiles_Migrate/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/migrateMigrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. The change need to be committed after this.
  • POSTProfiles_MigrationCommit/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/migrationCommitCommit the migrated Azure Frontdoor(Standard/Premium) profile.
  • POSTProfiles_GenerateSsoUri/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/generateSsoUriGenerates a dynamic SSO URI used to sign in to the CDN supplemental portal. Supplemental portal is used to configure advanced feature capabilities that are…
  • POSTProfiles_ListSupportedOptimizationTypes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/getSupportedOptimizationTypesGets the supported optimization types for the current profile. A user can create an endpoint with an optimization type from the listed values.
  • POSTProfiles_ListResourceUsage/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/checkResourceUsageChecks the quota and actual usage of endpoints under the given Azure Front Door Standard or Azure Front Door Premium or CDN profile.
  • POSTProfiles_CdnCanMigrateToAfd/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/cdnCanMigrateToAfdChecks if CDN profile can be migrated to Azure Frontdoor(Standard/Premium) profile.
  • POSTProfiles_CdnMigrateToAfd/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/cdnMigrateToAfdMigrate the CDN profile to Azure Frontdoor(Standard/Premium) profile. This step prepares the profile for migration and will be followed by Commit to finalize…
  • POSTProfiles_MigrationAbort/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/migrationAbortAbort the migration to Azure Frontdoor Premium/Standard.

Endpoints

  • GETEndpoints_ListByProfile/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpointsLists existing CDN endpoints.
  • GETEndpoints_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointNameGets an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
  • PUTEndpoints_Create/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointNameCreates a new CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
  • DELETEEndpoints_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointNameDeletes an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile.
  • PATCHEndpoints_Update/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointNameUpdates an existing CDN endpoint with the specified endpoint name under the specified subscription, resource group and profile. Only tags can be updated after…
  • POSTEndpoints_Start/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/startStarts an existing CDN endpoint that is on a stopped state.
  • POSTEndpoints_Stop/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/stopStops an existing running CDN endpoint.
  • POSTEndpoints_PurgeContent/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/purgeRemoves a content from CDN.
  • POSTEndpoints_LoadContent/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/loadPre-loads a content to CDN. Available for Verizon Profiles.
  • POSTEndpoints_ValidateCustomDomain/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/validateCustomDomainValidates the custom domain mapping to ensure it maps to the correct CDN endpoint in DNS.
  • POSTEndpoints_ListResourceUsage/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/checkResourceUsageChecks the quota and usage of geo filters and custom domains under the given endpoint.

Origins

  • GETOrigins_ListByEndpoint/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/originsLists all of the existing origins within an endpoint.
  • GETOrigins_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/origins/:originNameGets an existing origin within an endpoint.
  • PUTOrigins_Create/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/origins/:originNameCreates a new origin within the specified endpoint.
  • DELETEOrigins_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/origins/:originNameDeletes an existing origin within an endpoint.
  • PATCHOrigins_Update/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/origins/:originNameUpdates an existing origin within an endpoint.

OriginGroups

  • GETOriginGroups_ListByEndpoint/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/originGroupsLists all of the existing origin groups within an endpoint.
  • GETOriginGroups_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/originGroups/:originGroupNameGets an existing origin group within an endpoint.
  • PUTOriginGroups_Create/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/originGroups/:originGroupNameCreates a new origin group within the specified endpoint.
  • DELETEOriginGroups_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/originGroups/:originGroupNameDeletes an existing origin group within an endpoint.
  • PATCHOriginGroups_Update/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/originGroups/:originGroupNameUpdates an existing origin group within an endpoint.

CustomDomains

  • GETCustomDomains_ListByEndpoint/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/customDomainsLists all of the existing custom domains within an endpoint.
  • GETCustomDomains_Get/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/customDomains/:customDomainNameGets an existing custom domain within an endpoint.
  • PUTCustomDomains_Create/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/customDomains/:customDomainNameCreates a new custom domain within an endpoint.
  • DELETECustomDomains_Delete/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/customDomains/:customDomainNameDeletes an existing custom domain within an endpoint.
  • POSTCustomDomains_DisableCustomHttps/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/customDomains/:customDomainName/disableCustomHttpsDisable https delivery of the custom domain.
  • POSTCustomDomains_EnableCustomHttps/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.Cdn/profiles/:profileName/endpoints/:endpointName/customDomains/:customDomainName/enableCustomHttpsEnable https delivery of the custom domain.

CheckNameAvailability

  • POSTCheckNameAvailability/providers/Microsoft.Cdn/checkNameAvailabilityCheck the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

CheckNameAvailabilityWithSubscription

  • POSTCheckNameAvailabilityWithSubscription/subscriptions/:subscriptionId/providers/Microsoft.Cdn/checkNameAvailabilityCheck the availability of a resource name. This is needed for resources where name is globally unique, such as a CDN endpoint.

ValidateProbe

  • POSTValidateProbe/subscriptions/:subscriptionId/providers/Microsoft.Cdn/validateProbeCheck if the probe path is a valid path and the file can be accessed. Probe path is the path to a file hosted on the origin server to help accelerate the…

CheckResourceUsage

  • POSTResourceUsage_List/subscriptions/:subscriptionId/providers/Microsoft.Cdn/checkResourceUsageCheck the quota and actual usage of the CDN profiles under the given subscription.

Operations

  • GETOperations_List/providers/Microsoft.Cdn/operationsLists all of the available CDN REST API operations.

Edgenodes

  • GETEdgeNodes_List/providers/Microsoft.Cdn/edgenodesEdgenodes are the global Point of Presence (POP) locations used to deliver CDN content to end users.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
48 operations on 34 pathsPOST 21GET 13PUT 5DELETE 5PATCH 4
Main resources
Profiles 15Endpoints 11CustomDomains 6OriginGroups 5Origins 5CheckNameAvailability 1CheckNameAvailabilityWithSubscription 1CheckResourceUsage 1Edgenodes 1Operations 1
Response formats
application/json
Description format
Swagger 2.0, API version 2025-04-15

How to test the Azure CDN in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure CDN collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Profiles_List” (GET /subscriptions/:subscriptionId/providers/Microsoft.Cdn/profiles), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure CDN?

Use these APIs to manage Azure CDN resources through the Azure Resource Manager. You must make sure that requests made to these resources are secure. It is listed under Developer tools and has 48 endpoints.

Who publishes the Azure CDN?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure CDN?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure CDN?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure CDN have?

48 operations on 34 paths (21 POST, 13 GET, 5 PUT, 5 DELETE, 4 PATCH). The largest groups are Profiles, Endpoints, CustomDomains, OriginGroups.

Is forking the Azure CDN free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.