Change the state of a job

put/jobs/{jobId}/state

Changes the state of a specified job. The only state currently allowed is 'canceled'.

Request Samples

1

Response Samples

1Not Available

Path Parameters

NameTypeRequiredDescription
jobId
string
true

The ID of the job.

Query Parameters

NameTypeRequiredDescription
value
string
true

The name of the state to set the job.

Allowed value:
canceled

Responses

StatusMeaningDescription
200OK

The request succeeded.

400Bad Request

The specified state value is missing or is not valid. See the returned error response for more information.

Schema
404Not Found

The specified job is not found.

Schema