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

API Resource Path: /companies/{company_name}/apps/{app_name}

Updates an existing company app with a new profile

Verb: PUT

Auth: Basic Auth

Sample Request:
$ curl -H "Content-type:application/json" -X PUT -d \
'{
  "accessType" : "read",
  "attributes" : [ {
    "name" : "Platform",
    "value" : "iOS"
  }],
  "callbackUrl" : "login.company.com"
}' \
-u myname:mypass https://api.enterprise.apigee.com/v1/o/{org_name}/companies/{company_name}/apps/{app_name}
Sample Response:
{
  "accessType" : "read",
  "attributes" : [ {
    "name" : "Language",
    "value" : "java-j2ee"
  } ],
  "callbackUrl" : "www.apigee.com",
  "createdAt" : 1343050516114,
  "createdBy" : "Admin",
  "credentials" : [ {
    "apiProducts" : [ {
      "apiproduct" : "TestApiProduct",
      "status" : "approved"
    } ],
    "attributes" : [ ],
    "consumerKey" : "N6S0jcOhgbsCJD3B7EGNFo0FYAZSpCez",
    "consumerSecret" : "BCJpVuK3uq9VuEgK",
    "status" : "approved"
  } ],
  "lastModifiedAt" : 1343050516317,
  "lastModifiedBy" : "Admin",
  "name" : "sandboxTestApp",
  "status" : "approved"
}
Last updated: about 1 month ago