Update a published Calendar feed
PUT
/api/v1/calendar/feeds/{id}
const url = 'https://example.com/api/v1/calendar/feeds/example';const options = { method: 'PUT', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"color":"example","detail":"full","include_notes":true,"include_tasks":true,"name":"example","source":"journal","source_id":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/v1/calendar/feeds/example \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "color": "example", "detail": "full", "include_notes": true, "include_tasks": true, "name": "example", "source": "journal", "source_id": "example" }'Requires a signed-in User. It changes the feed name, source or display settings and keeps the current link. It returns 404 when the feed is missing. Route: /api/v1/calendar/feeds/{id}. Inputs: id. Do not automatically replay this operation after an uncertain result.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
Input for changing a feed’s human-readable options and data source.
object
color
string | null
detail
required
Full feeds keep event details; Busy-only feeds reveal only availability.
string
include_notes
boolean
include_tasks
boolean
name
required
string
source
required
A feed source selects one owner-scoped collection of calendar data.
string
source_id
string | null
Responses
Section titled “Responses”Media typeapplication/json
The standard API error response: { "error": { ... } }.
object
Example
{ "error": { "code": "bad_request" }}