License
Retrieve license information
Authorizations
Responses
200
OK
application/json
4XX
Error
get
GET /api/license HTTP/1.1
Host: hostname:8887
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"api_version": "text",
"product_name": "PortSIP PBX",
"max_sim_calls": 1,
"license_key": "text",
"company_name": "text",
"contact_email": "text"
}
Update license
Authorizations
Body
license_keystringRequired
License key of PortSIP PBX.
Responses
200
OK
4XX
Error
post
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