PUT
/
jobs
/
{resource}
/
schedule
Update a job schedule
curl --request PUT \
  --url https://{FUSION HOST}/api/jobs/{resource}/schedule \
  --header 'Content-Type: */*' \
  --data '{
  "resource": {
    "type": "APPKIT_APP",
    "id": "<string>",
    "uri": "<string>",
    "canonicalName": "<string>"
  }
}'
{
  "resource": {
    "type": "APPKIT_APP",
    "id": "<string>",
    "uri": "<string>",
    "canonicalName": "<string>"
  },
  "enabled": true,
  "triggers": [
    {
      "enabled": true,
      "type": "<string>"
    }
  ],
  "default": true
}

Path Parameters

resource
string
required

The job ID.

Query Parameters

validate
boolean
default:true

Validate that the job config exists.

Body

*/*

JSON-formatted configuration values.

The body is of type object.

Response

200 - */*

successful operation

The response is of type object.