Commits

Unapprove a commit

Redact the authenticated user's approval of the specified commit.

This operation is only available to users that have explicit access to the repository. In contrast, just the fact that a repository is publicly accessible to users does not give them the ability to approve commits.

delete/repositories/{workspace}/{repo_slug}/commit/{commit}/approve

Request

  • Base URL
    https://api.bitbucket.org/2.0
  • URL
    https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/commit/{commit}/approve
  • 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

An empty response indicating the authenticated user's approval has been withdrawn.

Changes

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