ApigeeAliases.

DeleteKeyValueMap(ICakeContext, string, string, DeleteKeyValueMapSettings) Method

Summary

Delete a key value map (KVM).
Assembly
Cake.Apigee.dll
Namespace
Cake.Apigee
Containing Type
ApigeeAliases

Syntax

public static void DeleteKeyValueMap(this ICakeContext ctx, string orgName, string keyValueMapName, DeleteKeyValueMapSettings settings = null)

Examples

Cake task:

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

 DeleteKeyValueMap(
                    orgName,
                    "myMap",
                    new DeleteKeyValueMapSettings { Credentials = apigeeCredentials, Environment = "dev" });

Attributes

Type Description
CakeMethodAliasAttribute

Parameters

Name Type Description
ctx ICakeContext The Cake context.
orgName string Your org name as shown in Apigee.
keyValueMapName string The name of the Key Value Map to delete.
settings DeleteKeyValueMapSettings The settings such as authentication credentials and environment for environment scoped maps.

Return Value

Type Description
void