Skip to content

Get-PveAccessTfaIdx1

Fetch a requested TFA entry if present.

API: GET /access/tfa/{userid}/{id}, Proxmox VE API viewer

Get-PveAccessTfaIdx1
[-PveTicket <PveTicket>]
-Id <string>
-Userid <string>
[<CommonParameters>]
Parameter Type Required Description
-PveTicket PveTicket No Ticket data connection.
-Id string Yes A TFA entry id.
-Userid string Yes Full User ID, in the name@realm format.

Every parameter also binds by property name from the pipeline, so an object with node and vmid properties (the output of Get-PveGuest, for one) fills -Node and -Vmid. Without -PveTicket the cmdlet uses the last connection, see Connection.

A PveResponse: the data returned by Proxmox VE is in .Response.data, the outcome in .IsSuccessStatusCode. See Results and Errors.