Snippets
Delete a snippet
Deletes a snippet and returns an empty response.
delete/snippets/{workspace}/{encoded_id}
Request
- Base URLhttps://api.bitbucket.org/2.0
- URLhttps://api.bitbucket.org/2.0/snippets/{workspace}/{encoded_id}
- Auth
- OAuth 2Authorization code: https://bitbucket.org/site/oauth2/authorizeToken URL: https://bitbucket.org/site/oauth2/access_token scopes: snippet:write
- or HTTP basic
- or API key in header Authorization
Response
If the snippet was deleted successfully.
Changes
No recorded changes to this operation across all 15 revisions of this API.