PUT
/
{env_id}
/
{flow_id}
/
{tenant}
/
jobs
/
schedule
curl --request PUT \
  --url https://client-api.hotglue.xyz/{env_id}/{flow_id}/{tenant}/jobs/schedule \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "schedule_expression": "<string>",
  "job_type": "read",
  "state": "DISABLED"
}'
{}

Authorizations

x-api-key
string
headerrequired

Path Parameters

env_id
string
required

ID of environment

flow_id
string
required

ID of flow

tenant
string
required

ID of tenant

Body

application/json
schedule_expression
string
required

cron expression defining how often sync should occur e.g. cron(0 0 * * *)

job_type
enum<string>

For v2 flows, defines the type of job. Accepts "read" or "write."

Available options:
read,
write
state
enum<string>
default: ENABLED

Whether this schedule should be DISABLED or ENABLED

Available options:
DISABLED,
ENABLED

Response

200 - application/json

The response is of type object.