Send Docs Feedback

Regenerate the key pair for a developer app

Resource Summary

Security

Content Type

application/json, text/xml

Category

Developer App,

regenAppID

POST

Regenerate the key pair for a developer app

Regenerates the consumer key and consumer secret for the named developer app. This allows you to regenerate the key pair for an app when the keys or secret has been compromised, or when the key pair has expired. New values for the consumer key and consumer secret for the app are returned in the response. After using this API, multiple key pairs will be associated to a single app. Each pair of {consumer key, consumer secret} has an independent status (revoked or approved) and an independent expiry time.

If you want to determine the consumer key and consumer secret rather than having Edge generate them randomly, see Import existing consumer keys and secrets.

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/developers/{developer_email_or_id}/apps/{app_name}

Header Parameters

Name Values Description
Content-Type
(required)

application/json or text/xml.

Request Body

Name Description Default Required?
name The name of the developer app. The name becomes the unique ID of the developer app for this organization and developer. N/A Yes
apiProducts A list of API products with which the developer app is associated. The name of the API product is the name returned by a GET request to the "List API Products" endpoint. For example, if the Display Name of the API product in the Edge UI is 'Premium API Product', then the name is 'premium-api-product' (all lowercase with spaces replaced by hyphens). N/A Yes
keyExpiresIn The number of milliseconds after which the key pair expires (24 hours is 86400000 milliseconds). -1 (never expires) No

org_name Mention the organization name true

developer_email_or_id Mention the developer email or ID true

app_name Mention the app name true

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?