I have created blank repo using rest api post and passing description at the same time, it's worked out but for already existing repos how to add description, I have used PUT for existing repo but not working
/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}
{
"name": "my-repo",
"description": "My custom description"<br>}