Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Add repository settings description for existing repos


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




     "name": "my-repo",

         "description": "My custom description"

1 answer

0 votes

Hey @himashuk,

It looks like the PUT request you're making ought to work - though if you're only attempting to modify the description, you shouldn't need to include the 'name' attribute in the PUT request's payload.

I tested the following cURL command against my local instance and it updated the description without issue - so look to see if it helps do the trick for you: 

curl --location --request PUT '' \
-u adminusername:adminpassword \
--header 'Content-Type: application/json' \
--data-raw '{

"description": "My custom description"

}' \

If you look to still be getting an error, feel free to post back with the error or response you're getting back or shoot us the details over at :)



Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Bitbucket

New improvements to user management in Bitbucket Cloud 👥

Hey Community! We’re willing to wager that quite a few of you not only use Bitbucket, but administer it too. Our team is excited to share that we’ll be releasing improvements throughout this month of...

3,920 views 10 16
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you