NetSapiens icon

NetSapiens

Interact with the NetSapiens API

Actions477

Authentication/JWT (JSON Web Token) → Read Current JWT

AI-generated

Summary

Fetch the currently cached JWT token for NetSapiens authentication

Inputs

  • refreshOptions — Whether to bypass cached dropdown values and fetch fresh options

Output shape

a JWT token string

Returns the current JWT; may be empty if no token is cached; refreshOptions controls caching behavior

Examples

Example 1: Read the JWT without forcing a refresh

Leave Refresh Dropdown Cache unchecked; the operation returns the stored token.

Example 2: Force a fresh JWT retrieval

Enable Refresh Dropdown Cache to bypass cache and obtain a new token.

Links

Discussion