authenticators_admin_totp_list
GET/authenticators/admin/totp/
Viewset for totp authenticator devices (for admins)
Request
Query Parameters
name string
ordering string
Which field to use when ordering the results.
page integer
A page number within the paginated result set.
page_size integer
Number of results to return per page.
search string
A search term.
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
pagination
object
required
next numberrequired
previous numberrequired
count numberrequired
current numberrequired
total_pages numberrequired
start_index numberrequired
end_index numberrequired
results
object[]
required
name stringrequired
Possible values: <= 64 characters
The human-readable name of this device.
pk ID (integer)required
{
"pagination": {
"next": 0,
"previous": 0,
"count": 0,
"current": 0,
"total_pages": 0,
"start_index": 0,
"end_index": 0
},
"results": [
{
"name": "string",
"pk": 0
}
]
}
- application/json
- Schema
- Example (from schema)
Schema
non_field_errors string[]
code string
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (from schema)
Schema
detail stringrequired
code string
{
"detail": "string",
"code": "string"
}
Loading...