Key collection
Set-APIKeyCollection
Synopsis
Edit a key collection.
Syntax
Set-APIKeyCollection [-CollectionID] <Int32> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Updates a collection. As the request body for this function can be quite complex, it's recommended to retrieve the existing collection with Get-APIKeyCollection
, edit locally, and pipe the result to this function.
When piping the collection as a PSCustomObject
, you can read the CollectionID
from the pipeline, so you don't need to specify it separately.
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. |
‑Body Required |
A request body, either as a |
‑CollectionID Required |
Your collection's ID. Run |
‑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 about 9 hours ago