Update Jobs

Required capabilities: hostedExtractors:WRITE

Update a list of up to 100 jobs. Enabling the dead letter queue for a job, or moving a job that has it enabled to a different destination, requires the job's destination credentials to have write access to CDF RAW, in addition to hostedExtractors:WRITE. Before updating, the destination session is refreshed and the DLQ storage for the job is created. The request fails with status 400 if the destination has no session, the session cannot be refreshed, or the session lacks RAW write access. It fails with status 502 if CDF cannot be reached or RAW returns a server error during this check. If the check fails for any job, no jobs in the request are updated. The check is not run for jobs that already have the dead letter queue enabled and keep their destination.

Securityoidc-token or oauth2-client-credentials or oauth2-open-industrial-data or oauth2-auth-code
Request
Request Body schema: application/json
required

Jobs to update.

required
Array of objects (Items) [ 1 .. 10 ] characters
Responses
200

List of updated jobs.

400

The response for a bad request.

422

Validation Error

post/hostedextractors/jobs/update
Request samples
application/json
{
  • "items": [
    • {
      }
    ]
}
Response samples
application/json
{
  • "items": [
    • {
      }
    ]
}