DELETE /api/v1/jobs-management/schedules/{id}
Use this method to cancel a scheduled job that is in the Pending state.
Note
This REST API requires Lenovo XClarity Orchestrator v2.1 or later.
Authentication
Authentication with username and password is required.
Resource URI
DELETE https://{orchestrator_server_IP}/api/v1/jobs-management/schedules/{id}
where {id} is the ID of the scheduled job. To obtain the scheduled job ID, use GET /api/v1/jobs-management/schedules.
Query parameters
Done
Request body
Done
Response codes
Code | Description | Comments |
---|---|---|
200 | OK | The request completed successfully. |
400 | Bad Request | A query parameter or request attribute is missing or not valid, or the operation is not supported. A descriptive error message is returned in the response body. |
404 | Not found | The resource cannot be found. A descriptive error message is returned in the response body. |
500 | Internal Server Error | An internal error occurred. A descriptive error message is returned in the response body. |
Response body
Attributes | Type | Description | ||
---|---|---|---|---|
{message_attributes} | varies | Status messages (see Status messages) |
Give documentation feedback