Skip to content

List authenticator registrations

GET
/api/v1/totp/{username}
curl --request GET \
--url https://api.spartanauth.com/api/v1/totp/example

Lists authenticator-app registrations. A bearer token selects the token subject. A logged-out login screen can pass username and sectorID. The secret is never included.

username
required
string
sectorID
string

A successful response.

Media type application/json
object
registrations
Array<object>
object
ID
string
DisplayName
string
Validated
boolean
Example generated
{
"registrations": [
{
"ID": "example",
"DisplayName": "example",
"Validated": true
}
]
}

An unexpected error response.

Media type application/json
object
code
integer format: int32
message
string
details
Array<object>
object
@type
string
key
additional properties
Example generated
{
"code": 1,
"message": "example",
"details": [
{
"@type": "example"
}
]
}