/// <summary> /// Updates a specific branch restriction. You cannot change the kind value with this call. /// </summary> /// <param name="restriction">The branch restriction.</param> /// <returns></returns> public async Task <BranchRestriction> PutBranchRestriction(BranchRestriction restriction) { return(await _repositoriesEndPoint.PutBranchRestriction(_accountName, _repository, restriction)); }