/// <summary> /// Deletes a checklist item belonging to a task. /// </summary> /// <param name="taskId">The task ID or alias.</param> /// <param name="itemId">The ID of the checklist item.</param> /// <returns>An asynchronous operation.</returns> public Task DeleteTaskChecklistItemAsync(string taskId, Guid itemId) { if (string.IsNullOrWhiteSpace(taskId)) { throw new ArgumentException(Resources.ExceptionWhitespaceString, nameof(taskId)); } if (itemId == default) { throw new ArgumentException(Resources.ExceptionDefault, nameof(itemId)); } string path = $"/api/v3/tasks/{taskId}/checklist/{itemId}"; return(client.DeleteAsync(path.ToUri())); }