Was this helpful?

 

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

API Resource Path:

/apis/{api_name}

Description: Deletes an API and all associated endpoints, policies, resources, and revisions

Verb: DELETE
Auth: Basic Auth

 

Overview: Deletes an API proxy and all policies, resources, endpoints, and revisions associated with it.

Sample Request:
$ curl https://api.enterprise.apigee.com/v1/o/{org_name}/apis/{api_name} -X DELETE \
-u myname:mypass
Sample Response:
{
  "configurationVersion" : {
    "majorVersion" : 4,
    "minorVersion" : 0
  },
  "contextInfo" : "Revision null of application -NA-, in organization -NA-",
  "name" : "myAPI",
  "policies" : [ ],
  "proxyEndpoints" : [ ],
  "resources" : [ ],
  "targetEndpoints" : [ ],
  "targetServers" : [ ],
  "type" : "Application"
}
Errors
{
  "code" : "messaging.config.beans.ApplicationDoesNotExist",
  "message" : "APIProxy named myAPI does not exist in organization apigee-cs",
  "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.