Was this helpful?


Base Path: https://api.enterprise.apigee.com/v1/o/{org_name}

API Resource Path:


Description: Updates the app to get a new set of consumer credentials.

Verb: PUT
Auth: Basic Auth
Media types:

Overview: Updates and existing app profile with the information in the request payload.

Sample Request:
$ curl -H "Content-type:application/json" -X PUT -d \
  "access_type" : "write",
  "attributes" : [ {
	"name" : "Language",
	"value" : "C"
  } ],
  "apiProducts": [ "TestApiProduct"],
  "callback_url" : "www.apigee.com",
  "name" : "MyTestApp"
}' \
-u myname:mypass https://api.enterprise.apigee.com/v1/o/{myorg}/developers/{developerEmail}/apps/{appName}
Sample Response:
  "accessType" : "write",
  "attributes" : [ {
	"name" : "Language",
	"value" : "C"
  } ],
  "callbackUrl" : "www.apigee.com",
  "createdAt" : 1343052353553,
  "createdBy" : "Admin",
  "credentials" : [ {
	"apiProducts" : [ {
  	"apiproduct" : "TestApiProduct",
  	"status" : "pending"
	} ],
	"attributes" : [ ],
	"consumerKey" : "pCmh8dfwcDF1m9IIIqbUY2hGDO3obYgU",
	"consumerSecret" : "HRlGbgdHLEwvzBhQ",
	"status" : "approved"
  }, {
	"apiProducts" : [ {
  	"apiproduct" : "TestApiProduct",
  	"status" : "pending"
	} ],
	"attributes" : [ ],
	"consumerKey" : "VBsAd4wO0wkevxGaqlKlVF8qlGa4ydsT",
	"consumerSecret" : "gi8yb1ZFZ7ztRhYa",
	"status" : "approved"
  } ],
  "lastModifiedAt" : 1343052354468,
  "lastModifiedBy" : "Admin",
  "name" : "MyTestApp",
  "status" : "approved"
Response Payload Elements:
Name Description
attributes Name/value pairs used to extend the default app profile
callbackUrl A callback URL that can be used for app specific callbacks
createdAt Unix time when the app was created
credentials A list of associations between API products and consumer keys for the app
apiProducts A list of API products with which the app is associated
apiproduct The API product with which teh app is associated
status Status of the app association with the API product: 'approved' or 'pending'
attributes Name/value pairs used to extend the profile
consumerKey The value of the consumer key associated with the API product
consumerSecret Value of the consumer secret associated with the consumer key
status Status of the consumer key: 'approved' or 'pending'
lastModifiedAt Unix time when the app was last modified
lastModifiedBy User name of the Apigee developer who last modified the app
name Name of the app
status Status of the app: 'approved or 'unapproved'



Provide your email address if you wish to be contacted offline about your comment.
We will not display your email address as part of your comment.

We'd love your feedback and perspective! Please be as specific as possible.
Type the characters you see in this picture. (verify using audio)

Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.