- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- Try it!
Approves or revokes the consumer key for an API product. After a consumer key is approved, the app can use it to access APIs.
A consumer key that is revoked or pending cannot be used to access an API. Any access tokens associated with a revoked consumer key will remain active. However, Apigee checks the status of the consumer key and if set to revoked
will not allow access to the API.
HTTP request
POST https://apigee.googleapis.com/v1/{name=organizations/*/appgroups/*/apps/*/keys/*/apiproducts/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
Required. Name of the API product in the developer app key in the following format: Authorization requires the following IAM permission on the specified resource
|
Query parameters
Parameters | |
---|---|
action |
Approve or revoke the consumer key by setting this value to |
Request body
The request body must be empty.
Response body
If successful, the response body is empty.
Authorization scopes
Requires the following OAuth scope:
https://www.googleapis.com/auth/cloud-platform