public static Task <IHalClient> Delete( this IHalClient client, string rel, object parameters, string curie, IDictionary <string, string[]> headers = null, CancellationToken cancellationToken = default) { var relationship = HalClientExtensions.Relationship(rel, curie); return(client.BuildAndExecuteAsync( relationship, parameters, uri => client.Client.DeleteAsync(uri, headers, cancellationToken))); }