Key collection quota

Set-APIKeyCollectionQuota

Synopsis

Edit quota settings.

Syntax

Set-APIKeyCollectionQuota [-CollectionID] <Int32> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates the quota settings in a collection. As the request body for this function can be quite complex, it is recommended to retrieve the existing collection with Get-APIKeyCollectionQuota, edit locally, and pipe the result to this function.

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 PSCustomObject or a string. This parameter supports pipelining.

‑CollectionID
Required

Your collection's ID. Run Get-APIKeyCollection to retrieve collections available to you.

‑EdgeRCFile

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

‑Section

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

Related Links