Dokumentasi API SunnyDay
  1. Calendars
Dokumentasi API SunnyDay
  • Introduction
  • Locations
    • Update Locations
      PUT
    • Get Location Data
      GET
  • Calendars
    • Calendars
      • Get Free Slots
        GET
      • Update Calendar
        PUT
      • Get Calendar
        GET
      • Delete Calendar
        DELETE
      • Get Calendars
        GET
      • Create Calendar
        POST
    • Calendar Groups
      • Get Groups
      • Create Calendar Group
      • Validate group slug
      • Delete Group
      • Update Group
      • Disable Group
    • Calendar Events
      • Create Appointment
      • Update Appointment
      • Get Appointment
      • Get Calendar Events
      • Get Blocked Slots
      • Create Block Slot
      • Update Block Slot
      • Delete Event
    • Appointment Notes
      • Get Notes
      • Create Note
      • Update Note
      • Delete Note
    • Calendar Resources: Rooms & Equipments
      • Get Calendar Resource
      • Update Calendar Resource
      • Delete Calendar Resource
      • List Calendar Resources
      • Create Calendar Resource
    • Calendar Notifications
      • Get notifications
  1. Calendars

Delete Calendar

DELETE
https://services.sunnyday.co.id/api/calendars/{calendarId}
Delete calendar by ID

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Header Params

Responses

🟢200Success
application/json
Body

🟠400Bad Request
🟠401Unauthorized
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE 'https://services.sunnyday.co.id/api/calendars/ocQHyuzHvysMo5N5VsXc' \
--header 'Version: 2021-04-15' \
--header 'Authorization: Bearer <token>'
Response Response Example
200 - Success
{
    "success": "true"
}
Previous
Get Calendar
Next
Get Calendars
Built with