API credential

Remove-IAMAPICredential

Synopsis

Remove a credential.

Syntax

Remove-IAMAPICredential [[-ClientID] <String>] [-CredentialID] <String> [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Deletes a specific credential from an API client. You can only delete inactive credentials.

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.

‑ClientID

Your API client's ID. To get this value, run Get-IAMAPIClient.

‑CredentialID
Required

Your credentials' ID. To get this value for your credentials, run Get-IAMAPICredential.

‑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