Docs
Sign in

Remove the legacy GitHub token.

The versioned twin of DELETE /api/settings/github-token, and the explicit last step of moving to the App.

DELETE/api/v1/github/legacy-token

Scopesconfigapprove

Answers the installation slot after it. Removing it while an active installation reaches every project repository moves the workspace to the App for good: a legacy token can no longer be stored. Removing it before then only disconnects it; repositories the installation does not reach lose GitHub access. It never uninstalls the App. 409 connection_in_use while a crew that is not over works on a repository nothing else would serve; 409 conflict when another token was stored, or the workspace's GitHub access changed (a project, an installation or what it reaches), while GitHub was asked: nothing is removed or recorded. The timeline records the key ID, action and outcome.

Headers.

Idempotency-Keystring

Retry the same request with the same key. Retry rules.

Response.

200 OK · JSON object