Chess Now! IconChess Now
API ReferenceBots

Reset a bot's token

POST
/api/me/bots/{bot_id}/reset_token

Invalidates the current API key for a specified bot you own and generates a new API key.

Path Parameters

bot_id*string

Header Parameters

cookie?string
authorization?string
Match^Bearer .*

Response Body

application/json

curl -X POST "https://example.com/api/me/bots/string/reset_token"
{  "success": true,  "data": "bot_QeAQxBylNEjzEuUbWkQfQTlJZfgOmOKDebDsgzRQdXGQdOjpYSEuustFmEBakMua"}