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" : [ ]
}

 

Add new comment

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.