Documentation · API reference
PUT
/api/v1/alert-settingsSave quiet hours
This page as Markdown, or in an AI chatMore ways to read this page
Save quiet hours, how often, and whether to say when something is fine again.
# Save quiet hours
> tidekeeper's API reference: https://tidekeeper.eu/docs/api/put-alert-settings
`PUT /api/v1/alert-settings`
Save quiet hours, how often, and whether to say when something is fine again.
## What to send
`object`
## The answer
200, `object`
## Asking
```sh
curl -X PUT https://tidekeeper.eu/api/v1/alert-settings \
-H "Authorization: Bearer $TIDEKEEPER_TOKEN" \
-H "Content-Type: application/json" \
-d '{}'
```
What to send
object
The answer
Status 200
object
Asking
curl -X PUT https://tidekeeper.eu/api/v1/alert-settings \ -H "Authorization: Bearer $TIDEKEEPER_TOKEN" \ -H "Content-Type: application/json" \ -d '{}'
const answer = await fetch("https://tidekeeper.eu/api/v1/alert-settings", { method: "PUT", headers: { Authorization: `Bearer ${process.env.TIDEKEEPER_TOKEN}`, "Content-Type": "application/json", }, body: JSON.stringify({}), }).then((r) => r.json());