How to reset/revoke an authentication token?

Good afternoon. I’m curious how I can reset my login token? Resetting my password didn’t change anything. Every time I request an authentication token, I get the same one.

Example:

#!/bin/bash

token=$(curl -k --data "email=${email}" --data "password=${password}" \
-H "Sense-Client-Version: 1.18.1" -H "X-Sense-Protocol: 3" \
-H "User-Agent: okhttp/3.8.0" "https://api.sense.com/apiservice/api/v1/authenticate" \
|jq -r .access_token)

Thanks!

_DS

I can confirm that a full data reset will do it. Although, that might be a bit heavy-handed for what you are trying to do :grin:

H!!! That made me laugh. :slight_smile: I’ve reset before for less heavy-handed reasons.

1 Like