- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization Scopes
- Try it!
Manages access to a developer app by enabling you to:
- Approve or revoke a developer app
- Generate a new consumer key and secret for a developer app
To approve or revoke a developer app, set the
action query parameter to
revoked, respectively, and the
Content-Type header to
application/octet-stream. If a developer app is revoked, none of its API keys are valid for API calls even though the keys are still
approved. If successful, the API call returns the following HTTP status code:
204 No Content
To generate a new consumer key and secret for a developer app, pass the new key/secret details. Rather than replace an existing key, this API generates a new key. In this case, multiple key pairs may be associated with a single developer app. Each key pair has an independent status (
revoked) and expiration time. Any approved, non-expired key can be used in an API call.
For example, if you're using API key rotation, you can generate new keys with expiration times that overlap keys that are going to expire. You might also generate a new consumer key/secret if the security of the original key/secret is compromised.
keyExpiresIn property defines the expiration time for the API key in milliseconds. If you don't set this property or set it to
-1, the API key never expires.
- When generating a new key/secret, this API replaces the existing attributes, notes, and callback URLs with those specified in the request. Include or exclude any existing information that you want to retain or delete, respectively.
- To migrate existing consumer keys and secrets to hybrid from another system, see the
The URL uses gRPC Transcoding syntax.
Required. Name of the developer app. Use the following structure in your request:
Authorization requires the following IAM permission on the specified resource
Action. Valid values are
The request body contains an instance of
If successful, the response body contains an instance of
Requires the following OAuth scope: