NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Authentication/JWT (JSON Web Token) → Create JWT Token After MFA Request

AI-generated

Summary

Create a JWT token after initiating an MFA request

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options
  • PostJwt_3__body — JSON payload to be sent in the request body for creating the JWT token

Output shape

a JWT token string (or object containing the token)

The operation returns the generated JWT; on error the response may include an error envelope.

Examples

Example 1: Generate a token after user completes MFA

Enable refreshOptions, set PostJwt_3__body to {"userId":"123"}

Links

Discussion