Skip to main content
PATCH
Update an event

授权

Authorization
string
header
必填

The API key's secret (osk_…), shown once when the key is created in the console.

路径参数

eventId
string
必填

请求体

application/json
name
string
Required string length: 1 - 200
timezone
string
Required string length: 1 - 64
startsAt
string<date-time> | null
endsAt
string<date-time> | null
status
enum<string>
可用选项:
draft,
published,
archived
currency
string
Pattern: ^[A-Z]{3}$
confirmAgendaReset
boolean

响应

The updated event.

id
string
必填
publicId
string
必填
name
string
必填
status
enum<string>
必填
可用选项:
draft,
published,
archived
startsAt
string | null
必填
endsAt
string | null
必填
timezone
string
必填
currency
string
必填
features
string[]
必填
publishedAt
string | null
必填
createdAt
string
必填