Skip to main content
PUT
Update Bot

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required
Pattern: ^[0-9]{1,19}$

Body

application/json
display_name
string

New display name.

Required string length: 1 - 50
dm_permission
enum<string>

Who may send Direct Messages to the bot.

Available options:
everyone,
premium,
no_one
handle
string

New handle (X screen name): 1-15 characters, letters, numbers, or underscores.

Required string length: 1 - 15

Response

The request has succeeded.

data
object
errors
object[]