---
title: "Change them. Quiet hours are both set or both null."
method: PUT
path: "/v1/approvals/notifications"
tags: ["approvals"]
---

# Change them. Quiet hours are both set or both null.

`PUT /v1/approvals/notifications`

## Request

- Base URL: `https://api.50heads.com`
- URL: `https://api.50heads.com/v1/approvals/notifications`
- Auth: HTTP bearer

## Request body

- ApprovalNotificationsUpdateRequest
  - `push` boolean
  - `email` boolean
  - `quietFrom` integer, nullable
  - `quietTo` integer, nullable
  - `digest` boolean
  - `digestHour` integer
  - `timezone` string, nullable

## Response `200`

OK

- ApprovalNotificationsUpdateResponse
  - `settings` object, required
    - `push` boolean, required
    - `email` boolean, required
    - `quietFrom` integer, nullable, required
    - `quietTo` integer, nullable, required
    - `digest` boolean, required
    - `digestHour` integer, required
    - `timezone` string, nullable, required

## Other responses

- `400`: The request is not valid; `error.details.validation` lists the fixes.
- `401`: No key or token, or it expired or was revoked.
- `403`: The key or token lacks the scope (`insufficient_scope`), or the action is not allowed.
- `429`: Too many requests; wait for Retry-After.

---

[API](https://skmtc.dev/50heads/apis/50heads-api.md) · [All operations](https://skmtc.dev/50heads/apis/50heads-api/llms.txt) · [OpenAPI document](https://skmtc.dev/50heads/apis/50heads-api/revisions/20175e8b00e3?raw)
