connections.google_event_cancel
Cancelar evento do Google Calendar. Apaga o evento do calendário (notifyAttendees avisa os convidados). Evento que já não existe conta como cancelado. O próprio atendente ou um administrador.
- Endpoint:
POST https://app.atomiks.com.br/api/v1/connections.google_event_cancel(corpo JSON) - Quem pode chamar: membro da conta
- Escopo da chave:
crm:write - Grava dados: sim
- Pela chave de API: sim
- Ferramenta MCP:
connections_google_event_cancel - Ficha em JSON:
https://app.atomiks.com.br/api/v1/openapi.json(operationIdconnections.google_event_cancel)
Entrada
| Campo | Tipo | Obrigatório | Nota |
|---|---|---|---|
attendantId | string (uuid) | não | |
calendarId | string | não | |
eventId | string | sim | |
notifyAttendees | boolean | não |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"attendantId": {
"type": "string",
"format": "uuid",
"pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
},
"calendarId": {
"type": "string",
"minLength": 1,
"maxLength": 500
},
"eventId": {
"type": "string",
"minLength": 1,
"maxLength": 200
},
"notifyAttendees": {
"type": "boolean"
}
},
"required": [
"eventId"
]
}Exemplo
curl -X POST https://app.atomiks.com.br/api/v1/connections.google_event_cancel \
-H "Authorization: Bearer $ATOMIKS_API_KEY" \
-H "Content-Type: application/json" \
-d '{"eventId":"abc123"}'CLI:
node cli/atomiks.mjs connections.google_event_cancel --json '{"eventId":"abc123"}'MCP: ferramenta connections_google_event_cancel com a mesma entrada.
Saída
Sucesso: {"data": ...} com o formato abaixo.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"eventId": {
"type": "string"
}
},
"required": [
"eventId"
],
"additionalProperties": false
}Erros
{"error": {"code", "message", "requestId"}}. Códigos: invalid_input (400), unauthorized (401), forbidden / account_pending / scope_missing (403), not_found (404), limit_reached (409), internal (500).