Stop an Activity
A Plex server can have multiple activities running at different times. Activities such as scanning media, database maintenance or streaming can happen either on-demand or on a schedule.
While many of these activities shouldn't cause issues when they are running, if you do notice the performance of the server decreasing, you can stop any of the running activities using this API command.
DELETE http://[IP address]:32400/activites/[Activity ID]?X-Plex-Token=[PlexToken]
|IP address||The IP address of the Plex Media server.|
|PlexToken||The authentication Plex token.|
|Activity ID||The UUID associated with a running activity. This key can be found by calling the Get All Activities API command.|
|200||Success - The activity was canceled.|
|401||Unauthorized - The Plex token provided was not valid.|
|404||Not Found - The activity for the provided UUID was not running.|
No response is returned by the command. The status code will indicate whether the activity was stopped successfully.
Stop the activity associated with the UUID 'c3f190e4-eabb-4b3d-8811-b7c1f183560e' on the Plex Media Server located at the IP address of 192.168.1.4: