built-in-templates
Enable a built-in template
Enable a built-in scheduled task. A local start time may be chosen on the first enable only, except for a template with a fixed schedule, which refuses one. A later enable restores the task's own preserved schedule and refuses a supplied local_time.
post/v1/built-in-templates/{key}/enable
Request
- Base URL: https://api.patricia.app (the document declares no server; this is the origin it was published from)
- URL: https://api.patricia.app/v1/built-in-templates/{key}/enable
- Auth: HTTP bearer
Path parameters
keystring required
Headers
X-Tenant-Idstring nullable
Request body
Example request
{
"local_time": "08:00",
"delivery_channel_id": "C0123456789",
"config": {
"calendar_source": "googlecalendar",
"email_accounts": [
"0b6c1a52-8d3e-4f7a-9c21-5e4d7a8b9c10"
]
}
}Response
The enabled built-in template and its schedule.
Example response
{
"fixed_local_time": "12:00"
}Changes
No recorded changes to this operation across all 1 revision of this API.