hornet icon

hornet

Interact with hornet API

Actions452

Restrictions → Restrictions Ip Get

AI-generated

Summary

Fetches IP‑based restrictions for a given object (user, customer or partner) from the Hornet security API.

Inputs

  • object_id (required) — ID of the object whose IP restrictions are requested (user, customer or partner). Sent as a query string parameter named 'object_id'.
  • APP-ID (required) — Application identifier issued by Hornet. Sent as a request header named 'APP-ID'.
  • requestOptions — Optional HTTP request settings: batching, SSL verification, proxy, and timeout.

Output shape

object

Returns the JSON response from the Hornet endpoint /restrictions/ip. The exact fields are defined in the node's OpenAPI spec (openapi.json).

Examples

Example 1: Get restrictions for a customer with ID 12345

Set object_id to 12345, provide your APP‑ID credential, leave requestOptions at defaults.

Links

Discussion