public async Task Remove(DataSetRemoveCriteria criteria, CancellationToken cancellationToken = default(CancellationToken)) { Argument.IsNotNullOrEmpty(criteria.Name, nameof(criteria.Name)); var parameters = criteria.ToParameters(); await apiConnection.Delete($"data/{criteria.Name}", parameters, HttpMessageTransformer, CancellationToken.None).ConfigureAwait(false); }
public async Task Remove(DataSetRemoveCriteria criteria) { Argument.IsNotNullOrEmpty(criteria.Name, nameof(criteria.Name)); var parameters = criteria.ToParameters(); await Client.Delete($"{ApiKeys.Endpoint}data/{criteria.Name}", ApiKeys.ApiToken, parameters).ConfigureAwait(false); }