curl --location --request POST 'https://test.your-api-server.com/api/auth/api-token//regenerate' \
--header 'Authorization: Bearer <token>'{
"msg": "API token creado exitosamente",
"data": {
"_id": "665a1b2c3d4e5f6a7b8c9d0e",
"name": "Integracion ERP SAP",
"key": "miobox_ak_3ef72ebd8585173d7ab4097be9359f524868f1a3ce5f0b650e4d840deb88311e9d7a4bc987af05e68e14ccc306fa3cfc",
"prefix": "miobox_ak_",
"scopes": [
"string"
],
"rateLimit": 0,
"expiresAt": "2019-08-24T14:15:22.123Z",
"createdAt": "2019-08-24T14:15:22.123Z"
},
"warning": "Guarda esta key de forma segura. No se mostrara de nuevo."
}