Anyway to remove an authorized device from web api?

Server Version#: 1.14.1.5488
Player Version#: 2.28.3.70

there is a way to delete a device from web api?
opening https://plex.tv/devices.xml i can get all the detailed info for the device, so, there is a way to send the command in web api?

Settings - Devices - Shows you all.

You can also go to Plex.tv - Settings. The GUI (which looks like Plex/web) will open in your browser. “Authorized Devices” will be in the upper left corner in the left pane.

Their is no public-facing API to interface to it.

And adding to @ChuckPa here, since as he said, there’s no public-facing API for it, but…

In Chrome, switch to debug mode (F12), and delete one device, shows the call, that is a DELETE request, like:

https://plex.tv/devices/<DEVICEID>.xml?X-Plex-Client-Identifier=<UNIQUEID>&X-Plex-Token=<XXXYYYZZZ>

1 Like

Thank you dane!!
Now I’m trying the next…
Opening this WEB:
https://plex.tv/devices.xml?X-Plex-Product=Plex%20Web&X-Plex-Version=3.87.2&X-Plex-Client-Identifier=********&X-Plex-Platform=Chrome&X-Plex-Platform-Version=72.0&X-Plex-Sync-Version=2&X-Plex-Device=Windows&X-Plex-Device-Name=Chrome&X-Plex-Device-Screen-Resolution=1222x907%2C1680x1050&X-Plex-Token=**********&X-Plex-Language=es

I get all the devices listed sorted by last access, there is a way to sort the output by “creation day” direct on the web, this to avoid to download information and then do the sort locally??

Short answer is: No , long answer is: Sorting has to be done by the client

And now would like to know why you need this?

To delete devices without looking in the “devices authorized” seccion, its hard to figure out wich device I have to delete since all “xbox ones” “roku” “chrome” and tv applications get the same name, for example all xbox one linked to my server got the same name … in roku is easy to change the name, but I don’t know how to change the name on xbox and smart-tv samsung

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.