hornet icon

hornet

Interact with hornet API

Actions452

CMC Integration → Cmc Product License Post

AI-generated

Summary

Post a product license

Inputs

  • object_id (required) — The ID of an object (user, customer or partner). Sent as a query parameter.
  • product (required) — The product for which the license is being posted (Vm, M 365, Endpoint, or M 365 Compliance). Sent as a query parameter.
  • APP-ID (required) — App identifier issued by Hornet. Sent as a request header.
  • edition (required) — License edition (Standard, Unlimited, or Unlimited Plus). Sent in the request body.
  • additional_sma_years (required) — Number of additional SMA years to add to the license. Sent in the request body.
  • hosts (required) — Number of hosts covered by the license. Sent in the request body.

Output shape

Returns the API response from the Hornet CMC endpoint (typically the created license details or a confirmation).

The request uses the base URL https://cp.hornetsecurity.com/api/v0 and the endpoint defined in the node's OpenAPI spec for the Cmc Product License Post operation. Authentication is performed via the hornetApi credentials. Additional request options (batching, proxy, SSL verification, timeout) can be configured in the node's Request Options section.

Examples

Example 1: Assign a new M 365 license with Standard edition to a customer

Set object_id to the customer's ID, product to m365, edition to standard, additional_sma_years to 0, hosts to the number of devices, and provide your APP-ID.

Links

Discussion