Skip to main content
POST
Rotate Bot Token

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
scopes
string[]

Scopes for the new bearer token; defaults to the standard bot scope set (dm.read, dm.write, tweet.read, users.read, media.write).

Response

The request has succeeded.

data
object
errors
object[]