< Back
Update-EdgeDevAppStatus
Post
NAME Update-EdgeDevAppStatus
SYNOPSIS
Approve or Revoke an existing credential, or an apiproduct on a credential, for a developer app. Or the entire app.
SYNTAX
Update-EdgeDevAppStatus [[-AppName] <String>] [[-Developer] <String>] [[-Key] <String>] [[-ApiProduct] <String>]
[[-Action] <String>] [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Approve or Revoke an existing credential from a developer app. Or, approve or revoke a specific
API Product on a credential for a developer app. Approving an {app, credential, product} that is pending
or has been revoked allows the {app, credential, product} to be used at runtime. Revoking same means that
the key will be rejected at runtime. Note that the entire chain {app, credential, product } must have
status=approved for the key to be accepted.
PARAMETERS
-AppName <String>
Required. The name of the developer app that contains the credential to be updated.
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 that contains the credential.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Key <String>
Optional. The consumer key for the credential to be approved or revoked. If omitted, the Action
applies to the app.
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 approved or revoked. It must be present on the credential.
This is ignored if the Key is not also passed.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Action <String>
Required. The action to apply. Either revoke or approve.
Required? false
Position? 5
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? 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-EdgeDevAppStatus -AppName DPC6 -Developer dchiesa@example.org -Key pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw
-Action revoke
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Update-EdgeDevAppStatus -AppName DPC6 -Developer dchiesa@example.org -Key pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw
-ApiProduct Product123 -Action approve
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Update-EdgeDevAppStatus -AppName DPC6 -Developer dchiesa@example.org -Action approve
RELATED LINKS
Revoke-EdgeAppCredential
Approve-EdgeAppCredential
Approve-EdgeDevApp
Revoke-EdgeDevApp
SYNOPSIS
Approve or Revoke an existing credential, or an apiproduct on a credential, for a developer app. Or the entire app.
SYNTAX
Update-EdgeDevAppStatus [[-AppName] <String>] [[-Developer] <String>] [[-Key] <String>] [[-ApiProduct] <String>]
[[-Action] <String>] [[-Org] <String>] [<CommonParameters>]
DESCRIPTION
Approve or Revoke an existing credential from a developer app. Or, approve or revoke a specific
API Product on a credential for a developer app. Approving an {app, credential, product} that is pending
or has been revoked allows the {app, credential, product} to be used at runtime. Revoking same means that
the key will be rejected at runtime. Note that the entire chain {app, credential, product } must have
status=approved for the key to be accepted.
PARAMETERS
-AppName <String>
Required. The name of the developer app that contains the credential to be updated.
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 that contains the credential.
Required? false
Position? 2
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Key <String>
Optional. The consumer key for the credential to be approved or revoked. If omitted, the Action
applies to the app.
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 approved or revoked. It must be present on the credential.
This is ignored if the Key is not also passed.
Required? false
Position? 4
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Action <String>
Required. The action to apply. Either revoke or approve.
Required? false
Position? 5
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? 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-EdgeDevAppStatus -AppName DPC6 -Developer dchiesa@example.org -Key pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw
-Action revoke
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Update-EdgeDevAppStatus -AppName DPC6 -Developer dchiesa@example.org -Key pd0mg1FuedmfCpY9gWZonQmR2fGD3Osw
-ApiProduct Product123 -Action approve
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Update-EdgeDevAppStatus -AppName DPC6 -Developer dchiesa@example.org -Action approve
RELATED LINKS
Revoke-EdgeAppCredential
Approve-EdgeAppCredential
Approve-EdgeDevApp
Revoke-EdgeDevApp