Delete job schedules
Removes the specified job schedules from the peer.
This topic includes the following sections:
Request
HTTP method: DELETE
Request URL: Use of of the following URLs.
To delete schedule/s specified in the body
https://<hostname>:<port>/baocdp/rest/schedule
To delete schedule/s for a specified module or by schedule name
https://<hostname>:<port>/baocdp/rest/<modulename>?scheduleName=<schedulename>
If no schedule name is specified, all schedules added for the specified module are deleted.
Header: See HTTP request and response headers for header information, such as required authentication token.
Request body properties
Property | Type | Required | Description | Values | Default value |
---|---|---|---|---|---|
name | String | Yes | Schedule name | User-provided value | NA |
processName | String | Yes | Fully qualified process name | User-provided value | NA |
Example request JSON
{
"schedules": [
{
"name": "Read files",
"processName": ":AutoPilot-AD-Utilities:Terminal:File:Read"
},
{
"name": "Get activated modules",
"processName": ":AutoPilot-OA-BAOGridManagement:Module:Get All Activated Modules"
}
]
}
Response
If successful, the specified scheduled jobs are removed from the peer.
Response body properties
Property | Description |
---|---|
response | Status of the request |
Example response JSON
{
"response":"Success"
}
Status codes and messages
For more details about HTTP response codes, see HTTP response codes.
HTTP code | Description |
---|---|
204 | Request succeeded |
400 | Bad request An error occurred while deleting the schedules. |
401 | Unauthorized |
403 | Forbidden The client is not permitted to access the resource |
500 | Internal Server Error |
Related topics
Was this page helpful? Yes No
Submitting...
Thank you
Comments
Log in or register to comment.