Stopping a Batch Job
Function
This API is used to stop a batch job. It takes effect only for batch jobs in process.
URI
POST /v2/{project_id}/productmgr/jobs/{job_id}/pause
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. |
job_id |
Yes |
String |
Batch job ID. |
Request
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
X-Auth-Token |
Yes |
String |
User token. The token can be obtained by calling the IAM API used to obtain a user token. The value of X-Subject-Token in the response header is the user token. |
ief-instance-id |
No |
String |
Platinum edition instance ID. This parameter is left blank for a professional edition instance. |
Content-Type |
Yes |
String |
Message body type (format). The default value is application/json. |
Response
None
Example Request
None
Example Response
None
Status Codes
Status Code |
Description |
---|---|
200 |
Stopped successfully. |
Error Codes
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot