cURL
curl --request POST \ --url http://localhost:8091/api/bots/{botID}/regenerate-token \ --header 'Authorization: Bearer <token>'
{ "data": { "token": "<string>" } }
Regenerates the authentication token for a bot. The old token is immediately invalidated.
Session token obtained from /api/auth/login or /api/auth/register. Pass as: Authorization: Bearer
Bot user ID
New token generated
Show child attributes