Configurar el horario de silencio

Usalo para definir una franja horaria sin alertas, por ejemplo de noche, o para desactivarla.

PUT
/alerts/quiet-hours

Upsert the quiet hours configuration for the authenticated owner. Ensures exactly one row per owner (unique(owner_id))

Escritura · requiere el permiso accounts:write.

Autorización

http
headerAuthorizationBearer <clave>

Cuerpo del pedido

application/json
  1. body
enabled*boolean
start_time?string|null
end_time?string|null

Cuerpo de la respuesta

AlertQuietHourResource

application/json
  1. response
enabled*boolean
start_time*string|null
end_time*string|null
curl -X PUT "https://example.com/alerts/quiet-hours" \  -H "Content-Type: application/json" \  -d '{    "enabled": true  }'
{  "enabled": true,  "start_time": "string",  "end_time": "string"}