Cancel a text analytics job
put/analytics/{jobId}/state
Cancels the specified text analytics job and returns the new job state.
Name | Type | Required | Description |
---|---|---|---|
jobId | string | true | The unique identifier of the text analytics job. |
Status | Meaning | Description | ||
---|---|---|---|---|
200 | OK | The request succeeded. | Schema | |
400 | Bad Request | When attempting to update the state to a value other than cancelled. | Schema | |
404 | Not Found | There is no job for the given identifier. | Schema | |
409 | Conflict | The job has already finished and cannot be canceled. | Schema |