Cancel a text analytics job

put/analytics/{jobId}/state
Internal-Use Only

Cancels the specified text analytics job and returns the new job state.

Request Samples

1

Response Samples

1cancelled

Path Parameters

NameTypeRequiredDescription
jobId
string
true

The unique identifier of the text analytics job.

Query Parameters

NameTypeRequiredDescription
value
string
true

The new job state. The expected value is cancelled.

Responses

StatusMeaningDescription
200OKThe request succeeded.Schema
400Bad RequestWhen attempting to update the state to a value other than cancelled.Schema
404Not FoundThere is no job for the given identifier.Schema
409ConflictThe job has already finished and cannot be canceled.Schema