—Rate this article—
 

Beta Release of SmartDocs

1. In the Resource URL, replace any values enclosed in "{}", such as your organization name.
2. Set the Basic Authentication credentials. These are your Edge credentials (user must be in the Org Admin role).
3. Tweak the Request Body as needed (if a body is needed).
4. Send the live request to Edge and view the response! You can also view Request data.

Update API Proxy

Resource Summary

Auth Type

BASICAUTH,

Content Type

application/json, text/xml

Category

API Proxy,

updateApiProxy

PUT

Update API Proxy

Update a specific API proxy in an organization. Only the information to be updated needs to be included.

For example, to change the display name element of the API proxy from "My Weather API" to "My New Weather API", you can send the following in the request body:

{ 
    "displayName": "My New Weather API" 
}
The response, shown below, confirms the change.

{
  "configurationVersion": {
    "majorVersion": 4,
    "minorVersion": 0
  },
  "contextInfo": "Revision 1 of application my-weather-api, in organization ntesla",
  "createdAt": 1393882335178,
  "createdBy": "ntesla@apigee.com",
  "displayName": "My New Weather API",
  "lastModifiedAt": 1397232575975,
  "lastModifiedBy": "ntesla@apigee.com",
  "name": "my-weather-api",
  "policies": [
    "Add-CORS"
  ],
  "proxyEndpoints": [
    "default"
  ],
  "resourceFiles": {
    "resourceFile": []
  },
  "resources": [],
  "revision": "1",
  "targetEndpoints": [
    "default"
  ],
  "targetServers": [],
  "type": "Application"
}

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/apis/{api_name}/revisions/{revision_number}

    Header Parameters

  • Name
    Value
    Description
  • Content-Type
    (required)
    Specify the Content Type.

Request Body

Enter the properties to update.

org_name Mention the organization name true

api_name Mention the API Proxy name true

revision_number Mention the revision number true

Basic Auth

OAuth 2

Custom Token

Reset

Make a request and see the response.

Make a request and see the response.

Working...

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?)