applyNewLicense
A Graze API POST request that adds a Moogsoft Onprem license via Graze.
Back to Graze API EndPoint Reference.
Request arguments
Endpoint applyNewLicense takes the following request arguments:
Name | Type | Required | Description |
|---|---|---|---|
| String | Yes | A valid |
| String | Yes | A valid license key. |
Response
Endpoint applyNewLicense returns the following response:
Examples
The following examples demonstrate typical use of endpoint applyNewLicense:
Request example
Example cURL request to add a valid license:
curl -X POST -u graze:graze -k -v "https://localhost/graze/v1/applyNewLicence" -H "Content-Type: application/json; charset=UTF-8" -d '{"license" : "<your license key>"}'