Add license

Content Platform for Cloud Scale Management API Reference

Version
2.6.x
Audience
anonymous
Part Number
MK-HCPCS007-09

The method license/add adds a license for the system. You must provide a valid license file for the licensed function to function. The method decrypts, validates, and stores the license file.

HTTP request syntax (URI)

POST https://host_ip:9099/mapi/v1/license/add

Request structure

The request body is:

{
  "value": "license_file"
}
Parameter Required Type Description
value Yes String The file path of your HCP for cloud scale license.

Response structure

Not applicable.

Return codes

Status code

HTTP name

Description

200 OK The request was executed successfully.
401 Unauthorized Access was denied because credentials were noit valid.
405 Method Not Allowed The specified HTTP method is not allowed for administrative data. Resend using POST.

Example

Request example:

POST https://10.10.24.195:9099/mapi/v1/license/add

JSON request:

{
  "value": "hcpcs_license.plk"
}