Skip to main content
PUT
Save legal document

Авторизации

Authorization
string
header
обязательно

API token from the Zenedu dashboard

Параметры пути

bot
integer
обязательно

Bot ID

type
enum<string>
обязательно

Legal document type

Доступные опции:
privacy,
terms

Тело

application/json
enabled
boolean
обязательно

Whether the document is enabled

title
string | null

Document title

Maximum string length: 255
text
string | null

Document text

Ответ

Updated bot settings

data
object