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>'
{
  "data": {},
  "status": "cancelled"
}

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sync_run_id
integer
required

ID of the sync run

Response

200 - application/json
data
object
status
string