Hi there,Welcome at the Spotify Community!
Spotify has an Logout everywhere function to logout all devices that are logged in.
To logout everywhere, please go to your account page, and click the Sign out everywhere button to logout all devices that are connected to your account.
Please keep in mind that all your own devices are getting signed out too.