Downloads

Delete a download artifact

Deletes the specified download artifact from the repository.

delete/repositories/{workspace}/{repo_slug}/downloads/{filename}

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/downloads/{filename}
  • Auth
    • OAuth 2
      Authorization code: https://bitbucket.org/site/oauth2/authorize
      Token URL: https://bitbucket.org/site/oauth2/access_token scopes: repository:write
    • or HTTP basic
    • or API key in header Authorization

Response

The specified download artifact was deleted.

Changes

No recorded changes to this operation across all 15 revisions of this API.