Update a Calendar Event
PUT/api/calendar/{id}
Headers
| Field | Type | Description |
|---|---|---|
| authtoken | String | Authentication token, generated from admin area |
Parameters
| Field | Type | Description |
|---|---|---|
| unique | id | ID for update data. |
curl -X PUT "https://yoursite.com/api/calendar/123" \
-H "authtoken: YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{ "unique": "..." }' Success-Response:
HTTP/1.1 200 OK
{
"status": true,
"message": "Data Update Successful."
} Error-Response:
HTTP/1.1 404 Not Found
{
"status": false,
"message": "Data Update Fail"
}