Actions
List Hardware Tokens
Returns a paged list of OTP hardware tokens.
To fetch all results, call repeatedly with the offset parameter as long as the result metadata has a next_offset value.
If no type and serial parameters are provided, the list will contain all hardware tokens.
Otherwise, the list will contain either a single hardware token (if a match was found) or no hardware tokens.
Requires “Grant read resource” API permission.
Parameters
Parameter | Description |
---|---|
Limit | The maximum number of records returned.Default: 100; Max: 500 |
Offset | The offset from 0 at which to start record retrieval.When used with “limit”, the handler will return “limit” records starting at the n-th record, where n is the offset.Default: 0 |
Serial Number | The serial number of the hardware token.This option is required if type is present. |
Type | Specify a type and serial number to look up a single hardware token. One of: - “h6” HOTP-6 hardware token - “h8” HOTP-8 hardware token - “yk” YubiKey AES hardware token - “d1” Duo-D100 hardware tokenThis option is required if serial is present. |
Example Output
Workflow Library Example
List Hardware Tokens with Duo and Send Results Via Email
Preview this Workflow on desktop
Was this page helpful?