hornet icon

hornet

Interact with hornet API

Actions452

Multi Factor Authentication → Mfa Setup Post

AI-generated

Summary

Set up multi‑factor authentication for an end‑user by validating a TOTP token.

Inputs

  • object_id (required) — Identifier of the end‑user (must be an end‑user). Sent as a query parameter.
  • APP-ID (required) — Your application ID issued by Hornet. Sent as a request header.
  • token (required) — The TOTP token to be validated. Sent in the request body.
  • requestOptions — Optional HTTP settings: batching, proxy, SSL verification and timeout.

Output shape

API response (typically JSON) indicating success or failure of the MFA setup.

The response is passed downstream unchanged.

Examples

Example 1: Validate a TOTP token for user 12345 with app ID 'myapp'.

Set object_id=12345, APP‑ID='myapp', token='123456'.

Links

Discussion