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.

URL

DELETE http://[IP address]:32400/activites/[Activity ID]?X-Plex-Token=[PlexToken]

Parameters

NameDescription
IP addressThe IP address of the Plex Media server.
PlexTokenThe authentication Plex token.
Activity IDThe UUID associated with a running activity. This key can be found by calling the Get All Activities API command.

Return Status

HTTP CodeDescription
200Success - The activity was canceled.
401Unauthorized - The Plex token provided was not valid.
404Not Found - The activity for the provided UUID was not running.

Response

No response is returned by the command. The status code will indicate whether the activity was stopped successfully.

Examples

Example 1

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:

DELETE http://192.168.1.4:32400/activites/c3f190e4-eabb-4b3d-8811-b7c1f183560e?X-Plex-Token=L6vkd7JtLHjsH5987vYY