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 edited

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
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events