After you have enabled the Management API using either the command or from the GUI. Verify the status of the API from the management cli. Execute the below command to verify if the status of the API.
> api status
CheckpointR> api status
API Settings:
---------------------
Accessibility: Require all granted
Automatic Start: Enabled
Processes:
Name State PID More Information
-------------------------------------------------
API Stopped
CPM Starting 8712 Check Point Security Management Server is during initialization
FWM Started 5666
APACHE Started 5055
Port Details:
-------------------
JETTY Internal Port: 50276
APACHE Gaia Port: 443
Apache port retrieved from: httpd-ssl.conf
--------------------------------------------
Overall API Status: The API Server Is Not Running!
--------------------------------------------
Notes:
------------
To collect troubleshooting data, please run 'api status -s <comment>'
If it has not started, execute the below command.
> api start
Alternatively, restart the API
> api restart