Replace a schedule using its current revision
Workspace comes from the API key. The host must be a workspace member. Use schedule:read for reads and schedule:write for mutations. Active, paused and archived event types are supported; no calendar or booking fulfillment is exposed yet.
PUT
Workspace comes from the API key. The host must be a workspace member. Use schedule:read for reads and schedule:write for mutations. Active, paused and archived event types are supported; no calendar or booking fulfillment is exposed yet.
header
AuthorizationBearer <Relevate API key>Relevate API key scoped to the operation's product and environment.
id*stringapplication/json- body
date_overrides*array<>Items
items <= 366is_default?booleanFirst schedule becomes default automatically; selecting another default preserves existing link references.
Default
falsename*stringLength
1 <= length <= 100revision*integerRange
1 <= valuetimezone*stringLength
1 <= length <= 100weekly_intervals*array<>Items
items <= 168Successful operation
application/json- response
id*stringcurl -X PUT 'https://api.relevate.app/schedule/schedules/string' \
-H 'Content-Type: application/json' \
-d '{
"date_overrides": [
{
"intervals": [
{
"end_minute": 1,
"start_minute": 0
}
],
"local_date": "2019-08-24"
}
],
"name": "string",
"revision": 1,
"timezone": "string",
"weekly_intervals": [
{
"end_minute": 1,
"start_minute": 0,
"weekday": 1
}
]
}'Example Response
{
"id": "string"
}