v2

latestSwagger 2.02026-07-1372442.7 KB

Cancel a de-identification job.

Cancels a job that is in progress.

The job will be marked as canceled and the service will stop processing the job. The service will not delete any documents that have already been processed.

If the job is already complete, this will have no effect.

post/jobs/{name}:cancel

Path parameters

namestring required

The name of a job.

Query parameters

api-versionstring required

The API version to use for this operation.

Headers

x-ms-client-request-idstring uuid

An opaque, globally-unique, client-generated string identifier for the request.

Response

The request has succeeded.

namestring required

The name of a job.

operation'Redact' | 'Surrogate' | 'Tag' | 'SurrogateOnly'

Operation to perform on the input documents.

status'NotStarted' | 'Running' | 'Succeeded' | 'Failed' | 'Canceled' required

Enum describing allowed operation states.

lastUpdatedAtstring date-time required

Date and time when the job was completed.

If the job is canceled, this is the time when the job was canceled.

If the job failed, this is the time when the job failed.

createdAtstring date-time required

Date and time when the job was created.

startedAtstring date-time

Date and time when the job was started.