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

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/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events