cURL
curl --request POST \ --url https://app.getcensus.com/api/v1/sync_runs/{sync_run_id}/cancel \ --header 'Authorization: Bearer <token>'
{ "status": "cancelled", "data": {} }
Use this endpoint to cancel a sync that is actively running.
Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.
ID of the sync run
Successfully cancelled the sync
"cancelled"
Was this page helpful?