hornet icon

hornet

Interact with hornet API

Actions452

Restrictions → Restrictions Password Post

AI-generated

Summary

Posts password policy restrictions for a given object (user, customer, or partner) to the Hornet API.

Inputs

  • object_id (required) — The ID of an object. An object can be a user, customer or partner.
  • APP-ID (required) — A unique identifier specific to your app issued by us.
  • min_length — minimum length of password
  • min — DEPRECATED will always be True! boolean if minimum length is required in password or not
  • uppercase — DEPRECATED will always be True! Decides if upper case characters are required in password or not
  • lowercase — DEPRECATED will always be True! Decides if lower case characters are required in password or not
  • numbers — DEPRECATED will always be True! Decides if numbers are required in password or not
  • special_chars — DEPRECATED will always be True! Decides if special characters are required in password

Output shape

object

The exact shape depends on the Hornet API response; typically includes confirmation of the updated restriction settings.

Examples

Example 1: Set a minimum password length of 8 characters for a user with ID 12345.

Set object_id to 12345, provide your APP‑ID header, set min_length to 8.

Links

Discussion