Description
Restarts a job. You can perform this operation when the job status is Stopped or Failed.
Request syntax
POST /jobs/{Id}/start
Attribute description
Attribute | Type | Required or Not | 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. |