DELETE
/
butler
/
{taskName}
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
using LukeHagar.PlexAPI.SDK.Models.Requests;

var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");

var res = await sdk.Butler.StopTaskAsync(taskName: PathParamTaskName.BackupDatabase);

// handle response
This response does not have an example.

Authorizations

X-Plex-Token
string
header
required

Plex Authentication Token

Path Parameters

taskName
enum<string>
required

The name of the task to be started.

Available options:
BackupDatabase,
BuildGracenoteCollections,
CheckForUpdates,
CleanOldBundles,
CleanOldCacheFiles,
DeepMediaAnalysis,
GenerateAutoTags,
GenerateChapterThumbs,
GenerateMediaIndexFiles,
OptimizeDatabase,
RefreshLibraries,
RefreshLocalMedia,
RefreshPeriodicMetadata,
UpgradeMediaAnalysis

Response

200
_mintlify/placeholder

The task was stopped