---
title: "POST /vcs/bitbucket/disconnect-account"
method: POST
path: "/vcs/bitbucket/disconnect-account"
tags: ["vcs"]
---

# POST /vcs/bitbucket/disconnect-account

`POST /vcs/bitbucket/disconnect-account`

Wipe the calling user's Bitbucket OAuth tokens. Any DocsProjects this user linked will lose their token and need to be re-linked or have the linker swap accounts on Bitbucket.

## Response `200`

Default Response

- object
  - `success` true, required

## Other responses

- `400` — Bad request
- `401` — No auth
- `403` — Forbidden
- `404` — Not found
- `422` — Invalid payload
- `500` — Uncaught error

## Changes

- **2026-08-07** `8dff1e93bc68` — 1 info
  - api operation id `postvcsBitbucketDisconnectAccount` removed and replaced with `postVcsBitbucketDisconnectAccount`

[Change history](https://skmtc.dev/scalar/apis/core/changes/vcs/bitbucket/disconnect-account/post.md)

---

[API](https://skmtc.dev/scalar/apis/core.md) · [All operations](https://skmtc.dev/scalar/apis/core/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/scalar/core/revisions/82f9494f4fbd/schema)
