Was this helpful?
Retrieve license information
GET /api/license HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Accept: */*
OK
{ "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.
POST /api/license HTTP/1.1 Host: hostname:8887 Authorization: Bearer YOUR_SECRET_TOKEN Content-Type: application/json Accept: */* Content-Length: 22 { "license_key": "text" }
No Content