@@ -191,7 +191,7 @@ Update the name of an existing API Key [PATCH]
191191String apiKey = Environment .GetEnvironmentVariable (" SENDGRID_APIKEY" , EnvironmentVariableTarget .User );
192192var client = new SendGrid .Client (apiKey );
193193var apiKeyName = " CSharpTestKey" ;
194- ver apiKeyId = " <API Key ID>" ;
194+ var apiKeyId = " <API Key ID>" ;
195195// Leave off .Result for an asyncronous call
196196HttpResponseMessage responsePatch = client .ApiKeys .Patch (apiKeyId , apiKeyName ).Result ;
197197```
@@ -201,7 +201,7 @@ Revoke an existing API Key [DELETE]
201201``` csharp
202202String apiKey = Environment .GetEnvironmentVariable (" SENDGRID_APIKEY" , EnvironmentVariableTarget .User );
203203var client = new SendGrid .Client (apiKey );
204- ver apiKeyId = " <API Key ID>" ;
204+ var apiKeyId = " <API Key ID>" ;
205205// Leave off .Result for an asyncronous call
206206HttpResponseMessage responseDelete = client .ApiKeys .Delete (apiKeyId ).Result ;
207207```
@@ -249,7 +249,7 @@ You can only delete groups that have not been attached to sent mail in the last
249249``` csharp
250250String apiKey = Environment .GetEnvironmentVariable (" SENDGRID_APIKEY" , EnvironmentVariableTarget .User );
251251var client = new SendGrid .Client (apiKey );
252- ver unsubscribeGroupId = " <UNSUBSCRIBE GROUP ID>" ;
252+ var unsubscribeGroupId = " <UNSUBSCRIBE GROUP ID>" ;
253253// Leave off .Result for an asyncronous call
254254HttpResponseMessage responseDelete = client .UnsubscribeGroups .Delete (unsubscribeGroupId ).Result ;
255255```
@@ -285,7 +285,7 @@ Delete a recipient email from the suppressions list for a group. [DELETE]
285285``` csharp
286286String apiKey = Environment .GetEnvironmentVariable (" SENDGRID_APIKEY" , EnvironmentVariableTarget .User );
287287var client = new SendGrid .Client (apiKey );
288- ver groupId = " <UNSUBSCRIBE GROUP ID>" ;
288+ var groupId = " <UNSUBSCRIBE GROUP ID>" ;
289289// Leave off .Result for an asyncronous call
290290HttpResponseMessage responseDelete1 = client .
Suppressions .
Delete (
groupId ,
" [email protected] " ).
Result ;
291291```
0 commit comments