Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Create License

view on GitHub

Create License is available as both a pgutil command and an HTTP Request, and will create a license.

Command Specification (CLI)

The licenses create command is used to create a license by name and code.

The --title and --code options are always required.

Adding a license requires the license name (e.g. ABC License 1.0) and license code (e.g. ABC-1.0):

pgutil licenses create --title="ABC License 1.0" --code=ABC-1.0

Request Specification

To create a license, simply POST to the following URL with an appropriate API Key and a LicenseInfo object (see LicenseInfo.cs) as the request body.

POST/PUT /api/licenses/add

HTTP Response Specification

A LicenseInfo object will be returned on a successful 200 response. A 403 response indicates a missing, unknown, or unauthorized API Key.