hornet icon

hornet

Interact with hornet API

Actions452

Restrictions → Restrictions Password Get

AI-generated

Summary

Retrieves password policy/restrictions for a given object (user, customer, or partner) via the Hornet API.

Inputs

  • object_id — The ID of the object whose password restrictions are to be fetched. Can be a user, customer, or partner ID. Default is 0 (likely means no filter or all). Sent as a query parameter (object_id). Type: number.
  • APP-ID (required) — Application identifier issued by Hornet. Sent as a request header. Type: string.
  • requestOptions — Optional HTTP request settings that affect how the call is made (batching, SSL verification, proxy, timeout). Type: collection with sub‑options described below.

Output shape

object

Returns the JSON payload from the Hornet API endpoint that describes the password restrictions for the supplied object ID. The exact fields depend on the API specification but the operation returns the raw response body.

Examples

Example 1: Fetch password restrictions for a specific user.

Set object_id to the user's numeric ID, provide a valid APP‑ID header, leave requestOptions at defaults unless custom behaviour is needed.

Links

Discussion