Stop Clean Old Cache Files Task

There are a number of tasks that can be scheduled to run on a Plex server. This API command will stop the clean old cache files task.


DELETE http://[IP address]:32400/butler/CleanOldCacheFiles?X-Plex-Token=[PlexToken]


IP addressThe IP address of the Plex Media server.
PlexTokenThe authentication Plex token.

Return Status

HTTP CodeDescription
200Success - The task has stopped successfully.
401Unauthorized - The Plex token provided was not valid.
404Not Found - The task is not currently running.


No response is returned by the command. The status code will indicate whether the clean old cache files task was stopped successfully.


Example 1

Stops the clean old cache files scheduled task on the Plex Media Server located at the IP address of


If you would like to keep up to date on the articles, API commands, or blog posts that are published, feel free to subscribe.