Origin
Set-MSLOrigin
Synopsis
Update an origin.
Syntax
Set-MSLOrigin [-OriginID] <Int32> [-Body] <Object> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Updates certain fields of the origin. You can also use this API to rotate keys. Populate the previousKey
and previousKeyExpiryDate
fields if you need your old keys to be valid for a certain amount of time even after rotating.
Note: This function supports the pipeline, and can also read the
-OriginID
from the piped object.
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 |
‑EdgeRCFile |
Your EdgeGrid resource file to authenticate your command. Defaults to |
‑OriginID Required |
Your origin's ID. |
‑Section |
The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to |
Related Links
Updated 14 days ago