This API will soon be deprecated. Please use another API.

    Remove Calendars

    Removes a calendar associated with a logged-in user's account.

    API Type

    Service API

    Request URL

    https://apis.worksmobile.com/{API ID}/calendar/removeCalendar

    HTTP Method

    POST (Content-Type: application/json; charset=UTF-8)

    Request

    Parameter Type Required Description
    calendarId String Y The calendar ID to be removed

    Request Example

    {
      "calendarId": "1868022"
    }
    

    Response

    It returns the value of the "returnValue" property which contains the results when the API call succeeds.

    Property Type Required Description
    result String Y API call success
    returnValue Integer Y The number of removed calendars

    Response Example

    {
      "result": "success",
      "returnValue": 1
    }