Get Started
Portal api methods
Help

DELETE api/2.0/calendar/events/{eventId}/custom This function requires authentication

Description

Deletes one event from the series of recurrent events

Parameters
Name Description Type Example
eventId
sent in url
Event ID number 1234
date
sent in body
Date to be deleted from the recurrent event Date and Time Roundtrip format: 2008-04-10T06-30-00.000Z
type
sent in body
Recurrent event deletion type Single, AllFollowing, AllSeries
fromCaldavServer
sent in body
Bool flag says that request from caldav server Bool value true
Example
DELETE api/2.0/calendar/events/1234/custom
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "date": "2008-04-10T06-30-00.000Z",
  "type": "Single",
  "fromCaldavServer": true
}
Returns

Updated event series collection

Example Response

application/json

{
  "status": 0,
  "response": [
    {
      "owner": {
        "objectId": "2fdfe577-3c26-4736-9df9-b5a683bb8520",
        "name": "Valery Zykov"
      },
      "permissions": {
        "users": [
          {
            "objectId": "2fdfe577-3c26-4736-9df9-b5a683bb8520",
            "name": "Valery Zykov"
          }
        ]
      },
      "isEditable": false,
      "сanUnsubscribe": true,
      "isShared": true,
      "alert": {
        "type": -1
      },
      "repeatRule": "",
      "start": "2019-08-25T10:53:57.0478651Z",
      "end": "2019-08-25T10:53:57.0478651Z",
      "allDay": false,
      "description": "Event Description",
      "title": "Event Name",
      "objectId": "1",
      "sourceId": "calendarID",
      "status": 0
    }
  ]
}

text/xml

<result>
  <status>0</status>
  <response>
    <owner>
      <objectId>2fdfe577-3c26-4736-9df9-b5a683bb8520</objectId>
      <name>Valery Zykov</name>
    </owner>
    <permissions>
      <users>
        <objectId>2fdfe577-3c26-4736-9df9-b5a683bb8520</objectId>
        <name>Valery Zykov</name>
      </users>
    </permissions>
    <isEditable>false</isEditable>
    <сanUnsubscribe>true</сanUnsubscribe>
    <isShared>true</isShared>
    <alert>
      <type>-1</type>
    </alert>
    <repeatRule></repeatRule>
    <start>2019-08-25T10:53:57.0478651Z</start>
    <end>2019-08-25T10:53:57.0478651Z</end>
    <allDay>false</allDay>
    <description>Event Description</description>
    <title>Event Name</title>
    <objectId>1</objectId>
    <sourceId>calendarID</sourceId>
    <status>0</status>
  </response>
</result>