/
/Bitbucket API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 10h ago · Updated 1d ago
Addon3
Branch restrictions5
Branching model7
Commit statuses4
Commits17
Deployments16
Downloads4
GPG4
Pipelines68
Projects16
properties12
Pullrequests37
Refs9
Reports9
Repositories25
Search3
Snippets24
  • postCreate a snippet
  • getList snippets in a workspace
  • postCreate a snippet for a workspace
  • getGet a snippet
  • putUpdate a snippet
  • deleteDelete a snippet
  • getList comments on a snippet
  • postCreate a comment on a snippet
  • getGet a comment on a snippet
  • putUpdate a comment on a snippet
  • deleteDelete a comment on a snippet
  • getList snippet changes
  • getGet a previous snippet change
  • getGet a snippet's raw file at HEAD
  • getCheck if the current user is watching a snippet
  • putWatch a snippet
  • deleteStop watching a snippet
  • getList users watching a snippet
  • getGet a previous revision of a snippet
  • putUpdate a previous revision of a snippet
  • deleteDelete a previous revision of a snippet
  • getGet a snippet's raw file
  • getGet snippet changes between versions
  • getGet snippet patch between versions
Source4
SSH5
Users4
Webhooks2
Workspaces16
    Snippets

    Delete a snippet

    Deletes a snippet and returns an empty response.

    delete/snippets/{workspace}/{encoded_id}

    Response

    If the snippet was deleted successfully.

    Changes