ListMfaTotpDevices

GET {{baseUrl}}/users/:userId/mfaTotpDevices?limit=693&sortBy=NAME&sortOrder=ASC

Lists the MFA TOTP devices for the specified user. The returned object contains the device's OCID, but not the seed. The seed is returned only upon creation or when the IAM service regenerates the MFA seed for the device.

Request Params

KeyDatatypeRequiredDescription
pagestringThe value of the opc-next-page response header from the previous "List" call.
limitnumberThe maximum number of items to return in a paginated "List" call.
sortBystringThe field to sort by. You can provide one sort order (sortOrder). Default order for
TIMECREATED is descending. Default order for NAME is ascending. The NAME
sort order is case sensitive.

Note: In general, some "List" operations (for example, ListInstances) let you optionally filter by Availability Domain if the scope of the resource type is within a single Availability Domain. If you call one of these "List" operations without specifying an Availability Domain, the resources are grouped by Availability Domain, then sorted. | | sortOrder | string | | The sort order to use, either ascending (ASC) or descending (DESC). The NAME sort order is case sensitive. |

HEADERS

KeyDatatypeRequiredDescription
Datestring(Required) Current Date
Authorizationstring(Required) Signature Authentication on Authorization header

RESPONSES

status: OK

[{"id":"velit ut nisi nostrud","userId":"ea sint","isActivated":true,"timeCreated":"1947-02-22T05:26:34.333Z","lifecycleState":"CREATING","inactiveStatus":-73745686,"timeExpires":"2000-03-17T23:40:16.846Z"},{"id":"ea voluptate fugiat ad","userId":"culpa Ut sit","isActivated":false,"timeCreated":"2003-09-27T20:32:50.145Z","lifecycleState":"DELETING","inactiveStatus":10597401,"timeExpires":"1954-11-27T14:50:12.958Z"}]