---
title: "/:channel/:timerId"
method: PUT
path: "/bot/timers/{channel}/{timerId}"
tags: ["timers"]
---

# /:channel/:timerId

`PUT /bot/timers/{channel}/{timerId}`

## Request

- Base URL: `https://api.streamelements.com/kappa/v2`
- URL: `https://api.streamelements.com/kappa/v2/bot/timers/{channel}/{timerId}`
- Auth: one of:
  - HTTP bearer
  - OAuth 2
    - Authorization code: `https://api.streamelements.com/oauth2/authorize`
    - Token URL: `https://api.streamelements.com/oauth2/token`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/streamelements/apis/se-api-docs/docs/bot/timers/:channel/:timerId/put.ts> (a function with typed inputs; its response is checked against the schema)

Update timer details

## Path parameters

- `channel` string, required
- `timerId` string, required

## Headers

- `Accept` string, required

## Request body

- object

## Response `201`

- Success11
  - `online` Online, required
    - `enabled` boolean, required
    - `interval` integer, required
  - `offline` Offline, required
    - `enabled` boolean, required
    - `interval` integer, required
  - `enabled` boolean, required
  - `chatLines` integer, required
  - `_id` string, required
  - `channel` string, required
  - `name` string, required
  - `message` string, required
  - `createdAt` string, required
  - `updatedAt` string, required

## Changes

- **2021-02-07** `8c745ed2e9e4`: 11 warning
  - the optional response header `Access-Control-Allow-Credentials` removed for the status `201`
  - the optional response header `Access-Control-Expose-Headers` removed for the status `201`
  - the optional response header `ETag` removed for the status `201`
  - the optional response header `Server` removed for the status `201`
  - …7 more

[Operation history](https://skmtc.dev/streamelements/apis/se-api-docs/changes/bot/timers/:channel/:timerId/put.md)

---

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