< Back
Update-EdgeAppCredential
Post
NAME Update-EdgeAppCredential
SYNOPSIS
Update a credential in Apigee Edge, by adding or removing API Products.
SYNTAX
Update-EdgeAppCredential [-Remove] [-Add] [[-AppName] <String>] [[-Name] <String>] [-Developer] <String> [-Key]
<String> [-ApiProducts] <String[]> [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Update a credential in Apigee Edge, by adding or removing API Products.
If you want to update the status of the credential see Revoke-EdgeAppCredential or
Approve-EdgeAppCredential .
PARAMETERS
-Remove [<SwitchParameter>]
A flag parameter to request the removal of API products from the credential.
Use one of -Remove or -Add, not both.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Add [<SwitchParameter>]
A flag parameter to request the aditionof API products to the credential.
Use one of -Remove or -Add, not both.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AppName <String>
The name of the developer app to update.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
A synonym for AppName.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Developer <String>
Required. The id or email of the developer that owns the app to be updated.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Key <String>
The consumer key for the credential to be updated.
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiProducts <String[]>
An array of strings, the names of API Products that should be added or removed from this credential.
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.
Required? false
Position? 6
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:\\>Update-EdgeAppCredential -AppName DPC6 -Developer dchiesa@example.org -Key iQGvTYtUWcWAdJ6WAJebedgLSKaVQidZ
-Add -ApiProducts @( 'Product-1971' )
RELATED LINKS
Revoke-EdgeDevApp
SYNOPSIS
Update a credential in Apigee Edge, by adding or removing API Products.
SYNTAX
Update-EdgeAppCredential [-Remove] [-Add] [[-AppName] <String>] [[-Name] <String>] [-Developer] <String> [-Key]
<String> [-ApiProducts] <String[]> [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Update a credential in Apigee Edge, by adding or removing API Products.
If you want to update the status of the credential see Revoke-EdgeAppCredential or
Approve-EdgeAppCredential .
PARAMETERS
-Remove [<SwitchParameter>]
A flag parameter to request the removal of API products from the credential.
Use one of -Remove or -Add, not both.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-Add [<SwitchParameter>]
A flag parameter to request the aditionof API products to the credential.
Use one of -Remove or -Add, not both.
Required? false
Position? named
Default value False
Accept pipeline input? false
Accept wildcard characters? false
-AppName <String>
The name of the developer app to update.
Required? false
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Name <String>
A synonym for AppName.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Developer <String>
Required. The id or email of the developer that owns the app to be updated.
Required? true
Position? 3
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Key <String>
The consumer key for the credential to be updated.
Required? true
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-ApiProducts <String[]>
An array of strings, the names of API Products that should be added or removed from this credential.
Required? true
Position? 5
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Org <String>
The Apigee Edge organization. The default is to use the value from Set-EdgeConnection.
Required? false
Position? 6
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:\\>Update-EdgeAppCredential -AppName DPC6 -Developer dchiesa@example.org -Key iQGvTYtUWcWAdJ6WAJebedgLSKaVQidZ
-Add -ApiProducts @( 'Product-1971' )
RELATED LINKS
Revoke-EdgeDevApp