Smarthings PAT revoke

With the exception of those created before the end of 2024, PATs expire after 24 hours. I am little surprised that you could discover and create PATs without realising that. It is the first sentence on the tokens page for me.

If you only require Location access the most effective replacement is probably to use renewable OAuth tokens (as described here, there are more polished guides available now).

The gotcha is that it rather appears that approach will require a subscription from later in the year.

If you do need User level access you are pretty much stuck with the PATs as User level OAuth seems to only be by special arrangement. It wouldn’t be so bad if their creation could be automated.