hornet icon

hornet

Interact with hornet API

Actions452

CMC Integration → Cmc Product Subscription Post

AI-generated

Summary

Posts a product subscription for a given object

Inputs

  • object_id (required) — The ID of an object (user, customer or partner). Sent as a query parameter.
  • product (required) — The product to subscribe to. Options: vm, m365, endpoint, m365-compliance. Sent as a query parameter.
  • APP-ID (required) — Application identifier issued by Hornet. Sent as a request header.
  • subscribed (required) — Boolean flag indicating whether the subscription is active. Sent in the request body. Defaults to true.
  • requestOptions — Optional HTTP request settings (batching, SSL, proxy, timeout).

Output shape

JSON response from the Hornet API containing the created subscription record.

The exact response structure depends on the remote API but is returned unchanged to the workflow.

Examples

Example 1: Subscribe a user (object_id=123) to Microsoft 365

Set object_id=123, product=m365, provide APP-ID header, leave subscribed=true, optionally configure requestOptions.

Links

Discussion