Skip to main content
PATCH
/
v2
/
entity-ingestion-configs
/
{config_id}
Update Entity Ingestion Config
curl --request PATCH \
  --url https://public.api.serval.com/v2/entity-ingestion-configs/{config_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "workflowId": "<string>",
  "enabled": true,
  "syncDeletions": true
}
'
{
  "data": {
    "id": "<string>",
    "appInstanceId": "<string>",
    "workflowId": "<string>",
    "enabled": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "teamId": "<string>",
    "serviceName": "<string>",
    "workflowName": "<string>",
    "isWorkflowPublished": true,
    "hasIngestionContext": true,
    "syncDeletions": true,
    "internalEntityTypeId": "<string>"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

config_id
string
required

The ID of the ingestion config.

Body

application/json
workflowId
string | null

The ID of the workflow that performs the entity sync.

enabled
boolean | null

Whether the ingestion config is enabled.

syncDeletions
boolean | null

Whether to sync deletions from external source.

Response

Success

data
data · object

The updated ingestion config.