< Back

Revoke-EdgeAppCredential

Sun Jan 19, 2020 6:05 pm

NAME Revoke-EdgeAppCredential



SYNOPSIS

Revoke an existing credential or apiproduct on a credential for a developer app, without removing it.





SYNTAX

Revoke-EdgeAppCredential [[-AppName] <String>] [[-Developer] <String>] [[-Key] <String>] [[-ApiProduct] <String>]

[[-Org] <String>] [<CommonParameters>]





DESCRIPTION

Revoke an existing credential for a developer app, without removing it. Or, revoke a specific

API Product on a credential for a developer app. Revoking a credential or an apiproduct on a

credential means the key will be rejected at runtime.





PARAMETERS

-AppName <String>

Required. The name of the developer app from which the credential will be revoked.



Required? false

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Developer <String>

Required. The id or email of the developer that owns the app for which the credential will be revoked.



Required? false

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Key <String>

Required. The consumer key for the credential to be revoked.



Required? false

Position? 3

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiProduct <String>

Optional. The name of the API Product to be revoked. It must be present on the credential.



Required? false

Position? 4

Default value

Accept pipeline input? false

Accept wildcard characters? false



-Org <String>

Optional. The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.



Required? false

Position? 5

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Revoke-EdgeAppCredential -AppName DPC6 -Developer dchiesa@example.org -Key pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw













-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Revoke-EdgeAppCredential -AppName DPC6 -Developer dchiesa@example.org -Key pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw

-ApiProduct Product123















RELATED LINKS

Remove-EdgeAppCredential

Approve-EdgeAppCredential

Update-EdgeDevAppStatus