# Regenerate JWT Token **POST /devices/token** Regenerate JWT token for a device. This invalidates all previous tokens for this device. **Use case:** If a token is compromised, regenerate to revoke access. ## Servers - http://localhost:7001: http://localhost:7001 () ## Parameters ### Body: application/json (object) - **device_id** (string) - **device_secret** (string) Device secret returned at creation time ## Responses ### 200 Token regenerated successfully #### Body: application/json (object) - **status** (boolean) - **code** (integer) - **message** (string) - **data** (object) [Powered by Bump.sh](https://bump.sh)