Was this helpful?
Retrieve license information
/license
curl -L \ --url 'https://HOSTNAME:8887/api/license' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN'
{ "api_version": "text", "product_name": "PortSIP PBX", "max_sim_calls": 1, "license_key": "text", "company_name": "text", "contact_email": "text" }
Update license
License key of PortSIP PBX.
curl -L \ --request POST \ --url 'https://HOSTNAME:8887/api/license' \ --header 'Authorization: Bearer YOUR_SECRET_TOKEN' \ --header 'Content-Type: application/json' \ --data '{"license_key":"text"}'
No body