Stop All Scheduled Tasks
There are a number of tasks that can be scheduled to run on a Plex server. This API command will stop all the scheduled tasks that are currently running on the server.
URL
DELETE http://{ip_address}:32400/butler/?X-Plex-Token={plex_token}Parameters
| Name | Description |
|---|---|
| ip_address | The IP address of the Plex Media server. |
| plex_token | The Plex token. |
Return Status
| HTTP Code | Description |
|---|---|
| 200 | Success - The tasks have stopped successfully. |
| 401 | Unauthorized - The Plex token provided was not valid. |
Response
No response is returned by the command. The status code will indicate whether the scheduled tasks were stopped successfully.
Examples
curl -X DELETE http://{ip_address}:32400/butler/?X-Plex-Token={plex_token}
import requests
plex_url = http://{ip_address}:32400/butler/?X-Plex-Token={plex_token}
response = requests.delete(plex_url)
print(response.text)
$response = Invoke-RestMethod 'http://{ip_address}:32400/butler/?X-Plex-Token={plex_token}' -Method DELETE
Write-Output $response