ApigeeAliases.

DeleteApiProxyRevision(ICakeContext, string, string, string, DeleteApiProxyRevisionSettings) Method

Summary

Delete a particular revision of a proxy.
Assembly
Cake.Apigee.dll
Namespace
Cake.Apigee
Containing Type
ApigeeAliases

Syntax

public static void DeleteApiProxyRevision(this ICakeContext ctx, string orgName, string proxyName, string revisionNumber, DeleteApiProxyRevisionSettings settings = null)

Examples

Cake task:

 var orgName = "myorg";
 var apigeeCredentials = new Credentials
 {
    Username = "[email protected]",
    Password = "mypassword"
 };

 DeleteApiProxyRevision(
                    orgName,
                    "myapi",
                    "123",
                    new DeleteApiProxyRevisionSettings { Credentials = apigeeCredentials });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
ctx ICakeContext The Cake context.
orgName string Your org name as shown in Apigee.
proxyName string The name of the proxy.
revisionNumber string The revision to delete.
settings DeleteApiProxyRevisionSettings Settings such as the authentication credentials.

Return Value

Type Description
void