I tried to regenerate the personal access token using the following endpoint.
https://ichatsystem.rocket.chat/api/v1/users.regeneratePersonalAccessToken
and I have set the following headers X-User-Id and X-Auth-Token but we received the following error.
FYI
{
“success”: false,
“error”: “Token does not exist [error-token-does-not-exists]”,
“errorType”: “error-token-does-not-exists”
}
Anyone does have an idea much appreciated…!