Check for Updates

Plex Media Server is regularly updated and it is important to keep a Plex server as up-to-date as possible. This API command will check for the latest update and download the update if specified.

URL

PUT http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token}

Parameters

NameDescription
ip_addressThe IP address of the Plex Media server.
plex_tokenThe Plex token.
download(Optional) This parameter is an integer value that indicates whether the update should be downloaded. Setting the parameter to 1 will download the update, or 0 won't download the update.

Return Status

HTTP CodeDescription
200Success - The request was successful.
400Bad Request - A parameter was not specified or the value was not valid.
401Unauthorized - The Plex token provided was not valid.

Response

There is no response except for the status code of 200. If the download parameter was set to 1, then the latest update will be downloaded.

Remarks

When an update is downloaded, it is saved in the Updates folder in the Plex data directory.

Examples

curl -X PUT http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token}
import requests
plex_url = http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token}
response = requests.put(plex_url)
print(response.text)
$response = Invoke-RestMethod 'http://{ip_address}:32400/updater/check?download={download}&X-Plex-Token={plex_token}' -Method 'PUT'
Write-Output $response
Subscribe
Display