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
Verb: PUT
Auth: Basic AuthSample 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 |
{
"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 user who created this app |
| lastmodified_at | Unix time when the app was last modified |
| lastmodified_by | Apigee user name of the user who last modified this app |
| status | Status of the app: 'active' or 'inactive' |
{
"code" : "developer.service.AppDoesNotExist",
"message" : "App named sandboxTestApp1 does not exist in organization AutomationOrganization",
"contexts" : [ ]
}
Last updated:
about 1 month ago