2018-10-05 11:45:46 -04:00
|
|
|
--
|
|
|
|
:api: delete-calendar
|
|
|
|
:request: DeleteCalendarRequest
|
|
|
|
:response: AcknowledgedResponse
|
|
|
|
--
|
|
|
|
[id="{upid}-{api}"]
|
2018-09-19 05:20:21 -04:00
|
|
|
=== Delete Calendar API
|
|
|
|
Delete a {ml} calendar.
|
2018-10-05 11:45:46 -04:00
|
|
|
The API accepts a +{request}+ and responds
|
|
|
|
with a +{response}+ object.
|
2018-09-19 05:20:21 -04:00
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}-request"]
|
2018-09-19 05:20:21 -04:00
|
|
|
==== Delete Calendar Request
|
|
|
|
|
|
|
|
A `DeleteCalendar` object requires a non-null `calendarId`.
|
|
|
|
|
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-request]
|
2018-09-19 05:20:21 -04:00
|
|
|
---------------------------------------------------
|
|
|
|
<1> Constructing a new request referencing an existing Calendar
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
[id="{upid}-{api}-response"]
|
2018-09-19 05:20:21 -04:00
|
|
|
==== Delete Calendar Response
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
The returned +{response}+ object indicates the acknowledgement of the request:
|
2018-09-19 05:20:21 -04:00
|
|
|
["source","java",subs="attributes,callouts,macros"]
|
|
|
|
---------------------------------------------------
|
2018-10-05 11:45:46 -04:00
|
|
|
include-tagged::{doc-tests-file}[{api}-response]
|
2018-09-19 05:20:21 -04:00
|
|
|
---------------------------------------------------
|
|
|
|
<1> `isAcknowledged` was the deletion request acknowledged or not
|
|
|
|
|
2018-10-05 11:45:46 -04:00
|
|
|
include::../execution.asciidoc[]
|