Under “Settings” within the Spark Build there is a blue button that reads “Reset Token”. Upon clicking that button, I am shown a new access token, and that access token works. The problem, however, is that my old access token continues to work. I am not sure why I’d ever want to request a new access token without invalidating my old one (for example, maybe it got leaked), and the expected behavior of “reset” in my mind is revoke old and grant new.
Requesting a list of my access tokens from https://api.spark.io/v1/access_tokens only displays the old access token and not the new one.
Here’s the strange part: if I reset my access token a 2nd time, the new token works but still isn’t listed via the API; the oldest token (the one listed via the API) continues to work, but the access token I had generated with the previous reset stops functioning.