Endpoint version (hide)

Hide-APIEndpointVersion

Synopsis

Hide a version.

Syntax

Hide-APIEndpointVersion -APIEndpointName <String> -VersionNumber <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
Hide-APIEndpointVersion -APIEndpointID <Int32> -VersionNumber <String> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Hides an endpoint and all its versions by name or ID. You can hide an endpoint only with no active versions on the staging or production network. You can't activate or delete versions of a hidden endpoint. Running this operation affects the endpoint listing in the API Definitions user interface.

By default, you can find a hidden endpoint after running the Get-APIEndpoints operation or when you filter the operation's results by ONLY_HIDDEN using the -Show query parameter.

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 ~/.edgerc.

‑Section

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

‑VersionNumber
Required

The endpoint version's number. Can be an integer or 'latest'.

Related Links