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