hornet icon

hornet

Interact with hornet API

Actions452

Auth Checks → Auth Check Permission Get

AI-generated

Summary

Auth Check Permission Get

Inputs

  • object_id (required) — The ID of an object (user, customer, or partner). Sent as a query parameter.
  • permission (required) — Name of the permission to check. Sent as a query parameter.
  • APP-ID (required) — Application identifier sent in the request header.
  • requestOptions — Additional HTTP request settings such as batching, SSL handling, proxy, and timeout.

Output shape

JSON response from the Hornet API indicating whether the specified permission is granted for the given object (typically includes a boolean or permission details).

The node uses the base URL https://cp.hornetsecurity.com/api/v0 with Accept and Content-Type headers set to application/json. The actual endpoint and response shape are defined in the node's OpenAPI specification (openapi.json).

Examples

Example 1: Verify if user ID 12345 has permission 'view_reports'.

Set object_id to 12345, permission to 'view_reports', provide your APP-ID, and leave requestOptions at defaults unless you need custom timeout, proxy, or batching.

Links

Discussion