CP code
Synopsis
Update a CP code.
Syntax
Set-CPCode [-CPCodeID] <Int32> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Modifies a specific CP code. After running the Get-CPCode operation, use the response to build a request object. You can modify only a CP code's name, time zone, and purgeable settings.
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. |
‑BodyRequired | A request body, either as a |
‑CPCodeIDRequired | Your CP code's ID. |
‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
‑Section | The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 3 months ago
