Permanently deletes an existing calendar event.
https://api.doboard.com/{account_id}/calendar_events_delete
account_id is the numeric organization identifier.
GET, POST. POST accepts parameters as application/x-www-form-urlencoded.
Requires a valid session. Deletion is allowed when:
ADMIN or PROJECT_MANAGER.| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
session_id |
string | Yes | — | Authenticated session ID. |
event_id |
int | Yes | — | Existing event identifier to delete. |
POST /42/calendar_events_delete HTTP/1.1
Host: api.doboard.com
Content-Type: application/x-www-form-urlencoded
session_id=YOUR_SESSION_ID&event_id=501
{
"data": {
"operation_status": "SUCCESS",
"event_id": 501
}
}
The ID in this example is illustrative.
| HTTP Code | error_no |
Message | Description |
|---|---|---|---|
401 |
401 |
session_id Unknown |
Missing or invalid session. |
403 |
403 |
Permission denied |
The user cannot delete this event. |
200 |
1901 |
Event Not Found |
Event does not exist. |
200 |
1902 |
event_id is required |
Event ID is missing or empty. |
200 |
0 |
Internal API Error |
Event deletion failed. |
For deletion failure with code 0, the message is provided in data.operation_message; a top-level error_message is not set by this method.
1901, Event Not Found.