API to invalidate all tokens

It would be great if there was a method to invalidate all tokens for a certain account – in addition to the log user out API call for specific tokens. Would something like that be possible?