Key collection
New-APIKeyCollection
Synopsis
Create a key collection.
Syntax
New-APIKeyCollection -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-APIKeyCollection -CollectionName <String> [-CollectionDescription <String>] -ContractID <String> -GroupID <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Creates an empty collection under the selected contract and group.
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 Conditionally required |
A request body, either as a |
‑CollectionDescription |
A human-readable description for the collection. If you specify an empty string in the request or omit this member from the object, the JSON response reflects it as |
‑CollectionName Conditionally required |
A human-readable name for the collection. |
‑ContractID Conditionally required |
The ID of the contract you assign to the new collection. To get this value, run |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑GroupID Conditionally required |
The ID of the group where to create the new collection. To get this value, run |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 8 days ago