Policy

Remove-CloudletPolicy

Synopsis

Remove a policy.

Syntax

Remove-CloudletPolicy [-PolicyID] <Int32> [-Legacy] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Deletes an existing Cloudlet policy by its ID. You can't delete a policy if any of its versions is active or being activated on the staging or production networks.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑Legacy

If present, this indicates that your policy is legacy (v2). Without this switch, v3 of the Cloudlets API is used.

‑PolicyID
Required

Your cloudlet policy's ID.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

Related Links