Delete Calendar
Deletes a calendar and every event in it, with their guests.
Each event is deleted on its own and fires its own delete hooks. This cannot be undone.
Endpoint
- Method:
DELETE - Path:
/fluent-event/v2/calendars/{id} - Controller:
CalendarController@deleteCalendar - Route source:
fluent-event/app/Http/Routes/api.php:43 - Controller source:
fluent-event/app/Http/Controllers/CalendarController.php:119
Permissions
- Requires the
manage_optionscapability (a site administrator). FluentEvent has no separate staff roles: its admin API is for administrators only.
Hooks Fired
Live sample
The request and response below were recorded on a running FluentEvent site and then anonymised. Names, emails and event titles are fictional, and long lists are cut to a few items.
Delete Calendar
DELETE
/calendars/{id}
Deletes a calendar and every event in it, with their guests.
Controller: CalendarController@deleteCalendar
Route source: fluent-event/app/Http/Routes/api.php:43
Authorizations
ApplicationPasswords
A WordPress username and an Application Password.
Type
HTTP (basic)
Parameters
Path Parameters
id*
Record ID.
Type
Requiredinteger
Minimum
1Responses
Success
application/json
JSON "message": "string"
{
}