---
title: "Updates a bot in the database with form data"
method: PATCH
path: "/bots/{id}"
tags: ["bots"]
---

# Updates a bot in the database with form data

`PATCH /bots/{id}`

## Path parameters

- `id` integer, required

## Response `200`

successful operation

- Bot
  - `id` integer
  - `team_id` string
  - `team_name` string
  - `password` string
  - `language` 'ru_Ru' | 'en_US' — bot language
  - `notifier_interval` integer
  - `reminder_repeat_max` integer
  - `reminder_time` integer

## Other responses

- `400` — Invalid data format
- `401` — No JWT Token
- `403` — No access to resource
- `500` — Internal Error

## Changes

- **2019-03-27** `07d9552ad3fa` — 6 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `500`
  - …2 more
- **2019-03-23** `6178380be8a6` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/maddevsio/apis/mad-devs-comedian/changes/bots/:id/patch.md)

---

[API](https://skmtc.dev/maddevsio/apis/mad-devs-comedian.md) · [All operations](https://skmtc.dev/maddevsio/apis/mad-devs-comedian/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/maddevsio/mad-devs-comedian/revisions/07d9552ad3fa/schema)
