`DELETE /api/workspace/repo_sync` — remove the workspace's repo binding.
DELETE
/api/workspace/repo_sync
const url = 'https://example.com/api/workspace/repo_sync';const options = {method: 'DELETE'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://example.com/api/workspace/repo_syncResponses
Section titled “Responses”Media typeapplication/json
{"deleted": true} — a delete acknowledgement. deleted is false only when
the row was already gone (a few idempotent deletes report the affected-rows count
as a boolean).
object
deleted
required
Whether a row was deleted.
boolean
Examplegenerated
{ "deleted": true}