---
title: "Update RTS settings"
method: PUT
path: "/rts/"
tags: ["rts_settings"]
---

# Update RTS settings

`PUT /rts/`

## Request

- Base URL: `https://api.angelcam.com/v1`
- URL: `https://api.angelcam.com/v1/rts/`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://my.angelcam.com/oauth/authorize/`, token URL `https://my.angelcam.com/oauth/token/`
    - Password, token URL `https://api.angelcam.com/oauth/token/`
    - Scopes: `rts_settings_manage`
  - API key in header `Authorization`
- TypeScript: <https://skmtc.dev/angelcam/apis/angelcam-api/docs/rts/put.ts> (a function with typed inputs; its response is checked against the schema)

## Request body

- object
  - `incident_ttl` 'PT1M' | 'PT3M' | 'PT5M' | 'PT10M' | 'PT30M' | 'PT1H': ISO 8601 duration format. The value represents the minimal delay between two events triggered by the same sensor that has to pass before Angelcam sends another notification to the user.

## Response `200`

RTSSettings object

- RTSSettingsObject
  - `incident_ttl` 'PT1M' | 'PT3M' | 'PT5M' | 'PT10M' | 'PT30M' | 'PT1H', required: ISO 8601 duration format. The value represents the minimal delay between two events triggered by the same sensor that has to pass before Angelcam sends another notification to the user.
  - `is_armed` boolean, required: If set to `false` user will not reveive any notifications about sensor events. This field shows global state.
  - `next_arming` string, date-time, nullable, required: Next scheduled global arming time.
  - `next_disarming` string, date-time, nullable, required: Next scheduled global disarming time.

## Other responses

- `400`: Query params are invalid.
- `401`: Missing or invalid authorization.
- `403`: Missing permission.

---

[API](https://skmtc.dev/angelcam/apis/angelcam-api.md) - [All operations](https://skmtc.dev/angelcam/apis/angelcam-api/llms.txt) - [OpenAPI document](https://skmtc.dev/angelcam/apis/angelcam-api/revisions/dd1cdc3f2c23?raw)
