URL Commands - Scan Whole Library instead of Individual Library IDs?

I’m developing a script to scan my library after an event happens and I’m reading this guide:
https://support.plex.tv/articles/201638786-plex-media-server-url-commands/

It seems that I can only scan individual libraries by identifying the database “section” and going to the URL.

http://[PMS_IP_ADDRESS]:32400/library/sections/29/refresh?X-Plex-Token=YourTokenGoesHere

However, I’d like to scan the whole library instead of individual databases, similar to the “Scan Library Files” function available for the whole library.

Anyone know if this is possible?

Try /library/sections/all/refresh :sweat_smile:

1 Like

Is there any way to scan via https:// so as to avoid the certificate errors? The only way I’ve found is with https://ip-address.certificate.plex.direct:32400/library/sections/all/refresh?X-Plex-Token= links, but I was hoping I could use some easier to find (and universal) https://plex.tv address.

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