PATCH /me/calendar/events/{id}/this-and-future
Divide série a partir de `split` (this-and-future).
- Access: Signed in
- Service:
https://api-calendar.axuz.net
Accepted authentication
sessionCookie— Sessão plena Axuz (cookie de sessão da casa). Sessão restrita é 403 enrollment_required.bearerSession— JWT de acesso da sessão em `Authorization: Bearer`.
Trunca a série antiga com UNTIL=split-1s e cria uma nova série a partir de split. Apenas creator pode dividir.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id | path | string | yes |
Request body
application/json · Required
| Name | Type | Required | Description |
|---|---|---|---|
split | string<date-time> | yes | |
summary | string | null | no | |
description | string | null | no | |
location | string | null | no | |
dtstart | string<date-time> | null | no | |
dtend | string<date-time> | null | no | |
all_day | boolean | null | no | |
rrule | string | null | no |
{
"split": "2026-01-15T12:00:00Z",
"summary": "string",
"description": "string",
"location": "string",
"dtstart": "2026-01-15T12:00:00Z",
"dtend": "2026-01-15T12:00:00Z",
"all_day": true,
"rrule": "string"
}Responses
201
Nova série criada.
| Name | Type | Required | Description |
|---|---|---|---|
(corpo) | oneOf | no |
400
Body inválido ou event não recorrente.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | Mensagem humana curta; sem stack. |
401
Faltando ou token inválido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | Mensagem humana curta; sem stack. |
403
Sem permissão para o recurso.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | Mensagem humana curta; sem stack. |
404
Recurso não encontrado.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | Mensagem humana curta; sem stack. |
429
Limite de requisições excedido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
500
Erro interno. Tente de novo com backoff; reporte o X-Request-Id.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
Examples
"Try it" is turned off in this reference. Use the examples with your test credential.
curl
curl -sS -X PATCH 'https://api-calendar.axuz.net/me/calendar/events/ID/this-and-future' \
-H "Authorization: Bearer $AXUZ_TOKEN" \
-H "Content-Type: application/json" \
-d '{"split":"2026-01-15T12:00:00Z","summary":"string","description":"string","location":"string","dtstart":"2026-01-15T12:00:00Z","dtend":"2026-01-15T12:00:00Z","all_day":true,"rrule":"string"}'Node.js
const res = await fetch("https://api-calendar.axuz.net/me/calendar/events/ID/this-and-future", {
method: 'PATCH',
headers: {
Authorization: `Bearer ${process.env.AXUZ_TOKEN}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({
"split": "2026-01-15T12:00:00Z",
"summary": "string",
"description": "string",
"location": "string",
"dtstart": "2026-01-15T12:00:00Z",
"dtend": "2026-01-15T12:00:00Z",
"all_day": true,
"rrule": "string"
}),
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"PATCH",
"https://api-calendar.axuz.net/me/calendar/events/ID/this-and-future",
headers={
"Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
},
json={
"split": "2026-01-15T12:00:00Z",
"summary": "string",
"description": "string",
"location": "string",
"dtstart": "2026-01-15T12:00:00Z",
"dtend": "2026-01-15T12:00:00Z",
"all_day": True,
"rrule": "string",
},
timeout=30,
)
res.raise_for_status()
print(res.json())