Endpoint version
Remove-APIEndpointVersion
Synopsis
Delete a version.
Syntax
Remove-APIEndpointVersion -APIEndpointName <String> -VersionNumber <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Remove-APIEndpointVersion -APIEndpointID <Int32> -VersionNumber <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Removes an endpoint version by name or ID from the API Gateway if the version has never been activated on the staging or production network.
Note: You can't delete or reuse the version numbers.
Parameters
‑APIEndpointID Conditionally required |
The endpoint's ID. |
‑APIEndpointName Conditionally required |
The endpoint's name. |
‑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. |
‑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 |
‑VersionNumber Required |
The endpoint version's number. Can be an integer or 'latest'. |
Related Links
Updated 10 days ago