Skip to main content
POST
/
core.v1.PolicyDataLoaderService
/
UpdatePolicyDataLoader
cURL
curl -X POST "https://api.joinformal.com/core.v1.PolicyDataLoaderService/UpdatePolicyDataLoader" \
  -H "X-API-KEY: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "example": "value"
  }'
{
  "policyDataLoader": {
    "id": "<string>",
    "name": "<string>",
    "description": "<string>",
    "key": "<string>",
    "workerRuntime": "python3.11",
    "workerCode": "<string>",
    "workerSchedule": "<string>",
    "status": "draft",
    "terminationProtection": true,
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z"
  }
}

Authorizations

X-API-KEY
string
header
required

API key authentication. Get your API key from the Formal console.

Body

application/json
id
string
Minimum string length: 1
name
string | null
Minimum string length: 1
description
string | null
key
string | null
Minimum string length: 1
workerRuntime
enum<string> | null
Available options:
python3.11,
nodejs18.x
workerCode
string | null
Minimum string length: 1
workerSchedule
string | null
Minimum string length: 9
status
enum<string> | null
Available options:
draft,
active
terminationProtection
boolean | null

Response

Success

policyDataLoader
policy_data_loader · object