37 lines
1.1 KiB
Plaintext
37 lines
1.1 KiB
Plaintext
--
|
|
:api: delete-calendar-job
|
|
:request: DeleteCalendarJobRequest
|
|
:response: PutCalendarResponse
|
|
--
|
|
[id="{upid}-{api}"]
|
|
=== Delete Calendar Job API
|
|
Removes {ml} jobs from an existing {ml} calendar.
|
|
The API accepts a +{request}+ and responds
|
|
with a +{response}+ object.
|
|
|
|
[id="{upid}-{api}-request"]
|
|
==== Delete Calendar Job Request
|
|
|
|
A +{request}+ is constructed referencing a non-null
|
|
calendar ID, and JobIDs which to remove from the calendar
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
--------------------------------------------------
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
|
--------------------------------------------------
|
|
<1> The ID of the calendar from which to remove the jobs
|
|
<2> The JobIds to remove from the calendar
|
|
|
|
[id="{upid}-{api}-response"]
|
|
==== Delete Calendar Response
|
|
|
|
The returned +{response}+ contains the updated Calendar:
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
--------------------------------------------------
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
|
--------------------------------------------------
|
|
<1> The updated Calendar with the jobs removed
|
|
|
|
include::../execution.asciidoc[]
|