Jump to content

[Emby API] Logout User


jf23

Recommended Posts

good afternoon,

 

i havent found this on swagger nor by searching the forum. 

 

is there a API Command to logout a User to force him to re-authenticate?

 

appreciate any comments

jf

Link to comment
Share on other sites

if sessions are the way to go, i have no idea how to call the logout, to inactive the AccessToken which was generated during the login

 

 

https://github.com/MediaBrowser/Emby/wiki/User-Authentication

If the user explicitly logs out, send a POST to /Sessions/Logout. This will revoke your access token. If the user closes the app without logging out, you can skip this and save the token for future use.

 

 

A example code ( i am using python) would be apprecaited

Edited by jf23
Link to comment
Share on other sites

The only way to logout a user on another device at this time would be to use the api to delete the device.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...