Policy version
Remove-CloudletPolicyVersion
Synopsis
Remove a policy version.
Syntax
Remove-CloudletPolicyVersion [-PolicyID] <Int32> [-Version] <String> [-Legacy] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Deletes a version of a specific policy. The -Version
parameter is an integer or the word latest
. Use the -Legacy
switch to specify v2 policies; otherwise, the command will apply only to v3 policies.
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 |
‑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 |
‑Version Required |
Version number. Can be an integer or the word |
Related Links
Updated 8 days ago