I am trying to make the repo private
through GitHub Enterprise API
by running :
$ curl -X PATCH $GitHubAPIurl -u $username:$password -d '{"name":"$d","private":"true"}' -k
But it returns message: not found
However, if I do a mild change :
$ curl $GitHubAPIurl -u $username:$password -d '{"name":"$d","private":"true"}' -k
This will tells me that the repo already exists
So it means that my $GitHubAPIurl
variable is correct, but why the -X PATCH
is not working for me?