License Expiration#
Once the program has been executed, we can request the expiration date of the license key by calling the following cURL command:
curl -X 'GET' \
'http://${API_SERVICE_URL}:${API_SERVICE_PORT}/api/v1/license-expiration' \
-H 'accept: */*'
Where:
API_SERVICE_URLis the endpoint of the service. If running locally, this will likely belocalhostAPI_SERVICE_PORTis the port exposed for the service. The default port is8081.
If the service is up and running correctly, you should receive a 200 status with the body containing information like:
{"expiry_date":"2023-06-01"}