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

Next challenges

Recent achievements

  • Global
  • Personal


  • Give kudos
  • Received
  • Given


  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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 Edited

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

Powering DevOps with Bitbucket Server & Data Center

Hi everyone, The Cloud team recently announced 12 new DevOps features that help developers ship better code, faster   ! While we’re all excited about the new improvements to Bitbucket ...

2,589 views 1 9
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