data_sources

Delete data source

Destructive cascade soft-delete of a source and its own data_source_items staging rows. Promoted objects survive - people, companies, the target playtable and its columns. One soft blocker: an active source with pending items → 409 delete_blocked, code discard_pending_items (confirm dropping not-yet-promoted rows, retry with acknowledge). No hard blockers. No recovery TTL; repeat → already_deleted:true.

Contract:

  • MCP tool delete_data_source, registry package mcp.playtables/data_sources, mount playtables.sources.
  • Operation delete, response envelope delete_cascade.
  • Flags: dangerous: the MCP layer gates it behind a preview/commit token, and the effect cannot be undone through this API.
delete/api/data-sources/{sid}

Request

  • Base URL
    https://beta.getsales.io/playtables/v1
  • Auth
    HTTP bearer and API key in header Team-SID

Path parameters

sidstring required

The ds_sc_* sid of the row to delete.

Query parameters

acknowledge[]string[]

Soft-blocker resolution codes the user confirmed. Closed enum; arbitrary strings → 422.

Response

delete_cascade success envelope.

successtrue required
operation'delete' required
itemobject required
already_deletedboolean required
soft_deletedboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.