Endpoint version resource
Set-APIEndpointVersionResource
Synopsis
Edit a resource.
Syntax
Set-APIEndpointVersionResource -APIEndpointName <String> -VersionNumber <String> -APIResourceID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Set-APIEndpointVersionResource -APIEndpointID <Int32> -VersionNumber <String> -APIResourceID <Int32> -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Description
Updates a resource within an endpoint version, including information about the resource as well as the methods and parameters assigned to the resource. You can only modify resources assigned to versions that have never been activated on the staging or production network.
In the request, you can specify an API endpoint by its name or ID. The -VersionNumber
parameter is an integer or the word latest
.
Parameters
‑APIEndpointID Conditionally required |
The endpoint's ID. |
‑APIEndpointName Conditionally required |
The endpoint's name. |
‑APIResourceID Required |
The API resource's ID. |
‑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 |
‑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 9 days ago