Use the Delete Schedule method to delete the schedule for a service.
HTTP method: DELETE
URI: /scheduler/connection_name/schedule_id
Request payload content type: None
Response payload content type: None
Expected response: HTTP/1.1 204 No Content
The method URI contains the following parameters.
| Name | Description | Required |
|---|---|---|
| connection_name | Enter the name that identifies the Optim™ directory connection that contains the schedule. | Y |
| schedule_id | Enter the schedule ID whose schedule is to be deleted. | Y |
The following response codes can be received when the method is complete.
| Response code | Description |
|---|---|
| 204 | No Content. The service schedule was removed. |
| 400 | Bad Request. A malformed request was submitted. |
| 404 | Not Found. The schedule ID does not exist. |