The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to delete file using bitbucket server REST APIs

Rishipal
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
March 9, 2022

I am trying to commit files to bitbucket server using REST APIs. I can easily add or update files using  "/rest/api/1.0/projects/{projectKey}/repos/{repositorySlug}/browse/{path:.*}"  but i am not sure how should i use this to delete a file.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

2 votes
Jeff Thomas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 9, 2022

The REST API for Bitbucket Server does not currently support deleting a file. Feel free to raise a suggestion for that at https://jira.atlassian.com/projects/BSERV/

Lenin Vladimir
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 7, 2025
TAGS
AUG Leaders

Atlassian Community Events