POST
/
sync_runs
/
{sync_run_id}
/
cancel
curl --request POST \
  --url https://app.getcensus.com/api/v1/sync_runs/{sync_run_id}/cancel \
  --header 'Authorization: Bearer <token>'
{
  "status": "cancelled",
  "data": {}
}

Authorizations

Authorization
string
headerrequired

Bearer token for the current workspace. Can be retrieved from the Workspace's settings page.

Path Parameters

sync_run_id
integer
required

ID of the sync run

Response

200 - application/json
status
string
data
object