Can't update private repository

Hello all

We have a public repository created when an image was pushed. But we when tried modified repository from public to private using the api, it is not working.
We saw the doc: Docker Hub API latest Reference and applied the instructions.

Our command is: curl -s -H “Authorization: JWT ${TOKEN}” -d “{ description: “private repository”, full_description: “private repository”, is_private: true }” “https://hub.docker.com/v2/repositories//<repo_name>” -X PATCH

But, there is not output or error.

So, we need to you help to resolve this problem and if you can give us the command to create a private repository using api, this would be wonderful.

Thank you in advance.