License

Retrieve license information

get

Retrieve license information

Authorizations
Responses
200
OK
application/json
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

post

Update license

Authorizations
Body
license_keystringRequired

License key of PortSIP PBX.

Responses
200
OK
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