Create a connector sync job
Beta
Create a connector sync job document in the internal index and initialize its counters and timestamps with default values.
Body
Required
-
id
string Required -
job_type
string Values are
full
,incremental
, oraccess_control
. -
trigger_method
string Values are
on_demand
orscheduled
.
POST
/_connector/_sync_job
curl \
--request POST http://api.example.com/_connector/_sync_job \
--header "Authorization: $API_KEY" \
--header "Content-Type: application/json" \
--data '"{\n \"id\": \"connector-id\",\n \"job_type\": \"full\",\n \"trigger_method\": \"on_demand\"\n}"'
Request example
{
"id": "connector-id",
"job_type": "full",
"trigger_method": "on_demand"
}
Response examples (200)
{
"id": "string"
}