Skip to content

Latest commit

 

History

History
52 lines (31 loc) · 1.27 KB

File metadata and controls

52 lines (31 loc) · 1.27 KB

import Global from '../../_global.mdx';

spo cdn origin remove

Removes CDN origin for the current SharePoint Online tenant

Usage

m365 spo cdn origin remove [options]

Options

`-t, --type [type]`
: Type of CDN to manage. Allowed values are: `Public`, `Private`. Default `Public`.

`-r, --origin <origin>`
: Origin to remove from the current CDN configuration.

`-f, --force`
: Don't prompt for confirming removal of a tenant property.

Remarks

Using the -t, --type option you can choose whether you want to manage the settings of the Public (default) or Private CDN. If you don't use the option, the command will use the Public CDN.

:::info

To use this command you must be either SharePoint Administrator or Global Administrator.

:::

Examples

Remove */CDN from the list of origins of the Public CDN.

m365 spo cdn origin remove --type Public --origin */CDN

Response

The command won't return a response on success.

More information