PostmarkDotNet.PostmarkAdminClient.DeleteServerAsync C# (CSharp) Method

DeleteServerAsync() public method

Get a server with the associated serverId.
To protected your account, you must first request access to use this endpont from [email protected]
public DeleteServerAsync ( int serverId ) : Task
serverId int
return Task
        public async Task<PostmarkResponse> DeleteServerAsync(int serverId)
        {
            return await this.ProcessNoBodyRequestAsync<PostmarkResponse>("/servers/" + serverId, verb: HttpMethod.Delete);
        }