Stop Refresh Local Metadata Task

There are a number of tasks that can be scheduled to run on a Plex server. This API command will stop the refresh local metadata task.

URL

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

Parameters

NameDescription
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.

Response

No response is returned by the command. The status code will indicate whether the refresh local metadata task was stopped successfully.

Examples

curl -X DELETE http://[IP address]:32400/butler/RefreshLocalMedia?X-Plex-Token=[PlexToken]
import requests
plex_url = http://[IP address]:32400/butler/RefreshLocalMedia?X-Plex-Token=[PlexToken]
response = requests.delete(plex_url)
print(response.text)
$response = Invoke-RestMethod 'http://[IP address]:32400/butler/RefreshLocalMedia?X-Plex-Token=[PlexToken]' -Method 'DELETE'
Write-Output $response
Subscribe
Display