diff --git a/README.md b/README.md index 2bb57fd36..66b1b204d 100644 --- a/README.md +++ b/README.md @@ -191,7 +191,7 @@ Update the name of an existing API Key [PATCH] String apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User); var client = new SendGrid.Client(apiKey); var apiKeyName = "CSharpTestKey"; -ver apiKeyId = ""; +var apiKeyId = ""; // Leave off .Result for an asyncronous call HttpResponseMessage responsePatch = client.ApiKeys.Patch(apiKeyId, apiKeyName).Result; ``` @@ -201,7 +201,7 @@ Revoke an existing API Key [DELETE] ```csharp String apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User); var client = new SendGrid.Client(apiKey); -ver apiKeyId = ""; +var apiKeyId = ""; // Leave off .Result for an asyncronous call HttpResponseMessage responseDelete = client.ApiKeys.Delete(apiKeyId).Result; ``` @@ -249,7 +249,7 @@ You can only delete groups that have not been attached to sent mail in the last ```csharp String apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User); var client = new SendGrid.Client(apiKey); -ver unsubscribeGroupId = ""; +var unsubscribeGroupId = ""; // Leave off .Result for an asyncronous call HttpResponseMessage responseDelete = client.UnsubscribeGroups.Delete(unsubscribeGroupId).Result; ``` @@ -285,7 +285,7 @@ Delete a recipient email from the suppressions list for a group. [DELETE] ```csharp String apiKey = Environment.GetEnvironmentVariable("SENDGRID_APIKEY", EnvironmentVariableTarget.User); var client = new SendGrid.Client(apiKey); -ver groupId = ""; +var groupId = ""; // Leave off .Result for an asyncronous call HttpResponseMessage responseDelete1 = client.Suppressions.Delete(groupId, "example@example.com").Result; ```