applyNewLicense

A Graze API POST request that adds a Moogsoft AIOps license via Graze.

Back to Graze API EndPoint Reference.

Request arguments

Endpoint applyNewLicense takes the following request arguments:

Name

Type

Required

Description

auth_token

String

Yes

A valid auth_token returned from the authenticate request. See the authenticate endpoint for more information.

license

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>"}'

Response example