Logout from all devices button

is there a way to make a “logout from all devices” button?

This isn’t possible as far as i know