Remove-PnPTenantCdnOrigin

Removes an origin from the Public or Private content delivery network (CDN).

Syntax

Remove-PnPTenantCdnOrigin
      -OriginUrl <String>
                               -CdnType <SPOTenantCdnType>
                               [-Connection <SPOnlineConnection>]

Description

Removes an origin from the Public or Private content delivery network (CDN).

You must be a SharePoint Online global administrator to run the cmdlet.

Examples

------------------EXAMPLE 1------------------

Remove-PnPTenantCdnOrigin -Url /sites/site/subfolder -CdnType Public

This example removes the specified origin from the public CDN

Parameters

-CdnType

The cdn type to remove the origin from.

Type:SPOTenantCdnType
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-Connection

Optional connection to be used by the cmdlet. Retrieve the value for this parameter by either specifying -ReturnConnection on Connect-PnPOnline or by executing Get-PnPConnection.

Type:SPOnlineConnection
Position:Named
Accept pipeline input:False
Accept wildcard characters:False
-OriginUrl

The origin to remove.

Type:String
Position:Named
Accept pipeline input:False
Accept wildcard characters:False