All Products
Search
Document Center

Batch Compute:StopJob

Last Updated:Apr 12, 2018

Description

Stops a job. You can perform this operation when the job status is Waiting or Running.

Request syntax

  1. POST /jobs/{Id}/stop

Attribute description

Attribute Type Required Description
Id String Yes ID of a job.

Response

Success

The 201 status code is returned.

Error codes

Error code Error message Status code Syntax
InvalidResource.NotFound Specified resource is not found. 404 The user requested resource does not exist.
StateConflict User operation is invalid. The current resource state is {state}. 409 The current resource is in {state} state. The operation is invalid.