There are a number of tasks that can be scheduled to run on a Plex server. This API command will stop the refresh libraries task.
DELETE http://[IP address]:32400/butler/RefreshLibraries?X-Plex-Token=[PlexToken]
|IP address||The IP address of the Plex Media server.|
|PlexToken||The authentication Plex token.|
|200||Success - The task has stopped successfully.|
|401||Unauthorized - The Plex token provided was not valid.|
|404||Not Found - The task is not currently running.|
No response is returned by the command. The status code will indicate whether the refresh libraries task was stopped successfully.
Stops the refresh libraries scheduled task on the Plex Media Server located at the IP address of 192.168.1.4: