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