Was this helpful?

 

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

API Resource Path:

/companies/{company_name}/apps/{app_name}

Description: Updates an existing company app

Verb: PUT
Auth: Basic Auth
Media types:
application/json
text/xml
Sample Request:
$ curl  -H "Content-type:application/json" -X PUT -d \
'{
  "access_type" : "read",
  "attributes" : [ {
    "name" : "Language",
    "value" : "java-j2ee"
  } ],
  "apiProducts": [ "sandbox"],
  "callback_url" : "www.apigee.com"
}' \
https://api.enterprise.apigee.com/v1/o/{org_name}/companies/{company_name}/apps/{app_name} \
-u myname:mypass
Request Payload Elements:
Name Description Default Required?
access_type     Yes
attributes     No
apiProducts     No
callback_url     Yes
Sample Response:
{
  "access_type" : "read",
  "attributes" : [ {
    "name" : "Language",
    "value" : "java-j2ee"
  } ],
  "callback_url" : "www.apigee.com",
  "created_at" : 1342431404360,
  "created_by" : "Admin",
  "lastmodified_at" : 1342431590819,
  "lastmodified_by" : "Admin",
  "name" : "sandboxTestApp",
  "status" : "approved"
}
Response Payload Elements:
Name Description
access_type Unenforced by Apigee
attributes Name/value pairs used to extend the default profile
callback_url A callback that is used as the redirect_uri in OAuth flows
created_at Unix time when the app was created
created_at Unix time when the app was created
created_by Apigee user name of the developer who created this app
lastmodified_at Unix time when the app was last modified
lastmodified_by Apigee user name of the developer who last modified this app
status Status of the app: 'active' or 'inactive'
Errors:
{
  "code" : "developer.service.AppDoesNotExist",
  "message" : "App named sandboxTestApp1 does not exist in organization AutomationOrganization",
  "contexts" : [ ]
}

 

Help or comments?

  • Something's not working: See Apigee Support
  • Something's wrong with the docs: Click Send Feedback in the lower right.
    (Incorrect? Unclear? Broken link? Typo?)