/// <summary>
        /// Deletes a stream.
        /// </summary>
        /// <param name="branchInput"></param>
        /// <returns></returns>
        public async Task <bool> BranchDelete(CancellationToken cancellationToken, BranchDeleteInput branchInput)
        {
            try
            {
                var request = new GraphQLRequest
                {
                    Query     = @"mutation branchDelete($myBranch: BranchDeleteInput!){ branchDelete(branch: $myBranch)}",
                    Variables = new
                    {
                        myBranch = branchInput
                    }
                };

                var res = await GQLClient.SendMutationAsync <Dictionary <string, object> >(request, cancellationToken).ConfigureAwait(false);

                if (res.Errors != null)
                {
                    throw new SpeckleException("Could not delete branch", res.Errors);
                }

                return((bool)res.Data["branchDelete"]);
            }
            catch (Exception e)
            {
                throw new SpeckleException(e.Message, e);
            }
        }
 /// <summary>
 /// Deletes a stream.
 /// </summary>
 /// <param name="branchInput"></param>
 /// <returns></returns>
 public Task <bool> BranchDelete(BranchDeleteInput branchInput)
 {
     return(BranchDelete(CancellationToken.None, branchInput));
 }