Cancel a meeting
PUT /meetings/{uuid}/actions/cancel
/meetings/{uuid}/actions/cancelCancels the meeting in Google Calendar. The meeting stays in the CRM history with status cancelled; it is not deleted and cannot be reopened through the API. The write to Google happens during the request. The response is a receipt (202).
When to use: When the meeting will not take place. Read it first with get_meeting to check can_cancel, its version and writable_sources.
When not to use: To move the meeting to another time, use update_meeting: a cancelled meeting cannot be brought back. To only unlink CRM records, use replace_meeting_relations. For a recurring meeting only the occurrence you read is cancelled, never the series.
Side effects: This reaches other people and cannot be undone. Easymailing cancels the event in the user's Google Calendar during the request, and Google, not Easymailing, emails the cancellation to the guests according to send_updates: all every guest, external_only only guests who do not use Google Calendar, none nobody (the event is still cancelled in Google). If Google does not answer clearly the receipt is uncertain and Easymailing keeps checking in the background. Once confirmed, a meeting.cancelled entry appears in the activity of the related records, done by the person who owns the token (marked «via Maia» when Maia made the request).
Permissions: Requires a CRM seat and the crm.contacts_companies.write capability. Only the organizer of the event can cancel it, from a calendar of their own that is writable. All-day meetings can be cancelled although they cannot be edited.
Value for the X-Auth-Token header parameter.
In: header
Path Parameters
UUID of the meeting. Get it from list_meetings.
uuidThe updated MeetingWriteReceipt resource
TypeScript Definitions
Use the request body type in TypeScript.
get_meeting_write_receipt (fase 5): the receipt of a create, change or cancel of a meeting, only for the user who
made the write, and the writes that answer it (202): create_meeting, update_meeting and cancel_meeting, which
write the event in Google during the request. Generated from the proposal by fase-5/tools/gen_meetings_api.py; the
texts are the proposal's.
Response Body
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X PUT "https://api.easymailing.com/meetings/5e8c2d41-7a96-4b30-9d1f-3c0a8e6b2f74/actions/cancel" \ -H "X-Auth-Token: YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "client_request_id": "d3955698-d564-4249-a930-7f208849c52e", "connection_uuid": "064e6067-9daf-4991-a9e8-389d4e1f45a0", "send_updates": "all", "expected_version": 1 }'{ "uuid": "095be615-a8ad-4c33-8e9c-c7612fbf6c9f", "action": "create_event", "state": "pending", "meeting": "/entity/1", "error_code": "permission_missing"}