Reinstall pfRest after a pfSense update
pfSense updates remove the pfRest API package (pfSense-pkg-RESTAPI). The API
stops working until you reinstall it. Do this after every pfSense update.
Reinstall pfRest
- Open the pfSense web UI.
- Go to System > Package Manager > Available Packages.
- Search for
RESTAPI. - Click Install next to pfSense-pkg-RESTAPI.
- Confirm the installation.
The API is available again at https://<pfsense-host>/api/v1/ after the package
finishes installing.
Verify the API works
Run a read-only request from a host that can reach the pfSense host:
A 200 response with system status data confirms the API is active. A 404 or
connection error means the package did not install correctly.