Files
authentik/website/docs/developer-docs/api/reference/authenticators-admin-all-list.api.mdx
2024-09-13 12:17:54 -05:00

429 lines
16 KiB
Plaintext

---
id: authenticators-admin-all-list
title: "authenticators_admin_all_list"
description: "Get all devices for current user"
sidebar_label: "authenticators_admin_all_list"
hide_title: true
hide_table_of_contents: true
api: eJytVktv2zAM/iuGLrtkcdf2MPS0Yg2KAOtWrNsuRWHINhOrkSVVkoNlgf/7SNlO7CbpC70ktkl+fH0itWbagOVeaDXN2RnjlS9AeZFxr61LeF4KlXApEymcZyOWg8usMKSP2pfgIxRGOSxFBi6aaRtllbWIEFUOLBoYbnkJHqxjZ7drJsjsoQK7QplCCb62mi4roOTsbM38ytB3oTzMUVTXdyPm+ZwQHgXIUOIAXQq/CvideIFvd2RnwRmtHDgCPj46or9MI7Ly9MiNkYSF+cT3jpJa7wbCreUUr/BQut53nd5DtluVG7CCS/EPbCjIRaWjQdRduag6lsrvRRPeEmyqHSRNXTZunLdCzXfc/ARfWRU1QXxw0cCaEuf5DyWxLN5WUI8G6ImRleXy9U4au2d9Ycd5Uuoc5OuSoZZbhQ6CbXQI3iz20aQj1GNfKGg+PBcE0Zk0Ij1re7TPObJnJmwJeQ8w1VoCV+QqQwM/EG68IRtKjrRjOWp89GJ/cpI7n1Qmfw8U92YILGYlJU8ltJA1aTxUwhLkba8K25Qfxd4PYpcSbbdCM9sGDTnK9lOWZoHwFBa7aHpU1xTcsJXUidO3nfYDp/oPHuk8mEYTa7XdOb1Kq2QmQOYJkNy9YIB0BA2syvdRFyU8zwW55fK676/e1mEbWhPZwXqcvGM9LkHhnMui8+vpgYLk2HGxZ8Y8mW2fYy1Ar+Ot0yfSbIZPoWmZzcGHDeQLfImHmyMOqy3G7RXT7gG77FZUZWVQNyJensSs7q2YG6pNk1xv0WzSKLw33SILUwG4DfsLO69mOmi2iWzNA8tdE/7x0fHp+PP4006xr/gCC9RfI8RDJ0ojYczCTPI8Cz3F5lHRWQFS6i9zvfE0FppKjw0H3IeBsc3+vZr+QogmbUrBncXxXPiiSseZLuMeRLx9SqVOY3Sl4m/Tr5PvN5OQptHOl1z1wIdVj0LVw51h34WiR86X3C3asnv462MjMRbKL+Sxbru+c1+g44QR0L+U+EvkKjBoUl2vU+7gt5V1TZ+bWwoxIheOBiFSasalw9G4gNX23rLksoLAvTt6wd0fhiZePxAaZyoqEUhjc55lYHzPaucIEsqGwZcTag3l0F82Da1G3QOhd4NGrXrYmFDQ+KUXoDCpLnBP7+gID9B/kaZ5ug==
sidebar_class_name: "get api-method"
info_path: docs/developer-docs/api/reference/authentik
custom_edit_url: null
hide_send_button: true
---
import ApiTabs from "@theme/ApiTabs";
import DiscriminatorTabs from "@theme/DiscriminatorTabs";
import MethodEndpoint from "@theme/ApiExplorer/MethodEndpoint";
import SecuritySchemes from "@theme/ApiExplorer/SecuritySchemes";
import MimeTabs from "@theme/MimeTabs";
import ParamsItem from "@theme/ParamsItem";
import ResponseSamples from "@theme/ResponseSamples";
import SchemaItem from "@theme/SchemaItem";
import SchemaTabs from "@theme/SchemaTabs";
import Markdown from "@theme/Markdown";
import Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"authenticators_admin_all_list"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/authenticators/admin/all/"}
>
</MethodEndpoint>
Get all devices for current user
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<details
style={{"marginBottom":"1rem"}}
className={"openapi-markdown__details"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
>
<h3
className={"openapi-markdown__details-summary-header-params"}
>
Query Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"query","name":"user","schema":{"type":"integer"}}}
>
</ParamsItem>
</ul>
</div>
</details><div>
<div>
<ApiTabs
label={undefined}
id={undefined}
>
<TabItem
label={"200"}
value={"200"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}
>
Array [
</div>
</li><SchemaItem
collapsible={false}
name={"verbose_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name_plural"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's plural verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"meta_model_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return internal model name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"type"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Get type of device","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"confirmed"}
required={true}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"created"}
required={true}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"last_updated"}
required={true}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"last_used"}
required={true}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","readOnly":true,"nullable":true}}
>
</SchemaItem><li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}
>
]
</div>
</li>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"[\n {\n \"verbose_name\": \"string\",\n \"verbose_name_plural\": \"string\",\n \"meta_model_name\": \"string\",\n \"pk\": 0,\n \"name\": \"string\",\n \"type\": \"string\",\n \"confirmed\": true,\n \"created\": \"2024-09-13T14:05:42.063Z\",\n \"last_updated\": \"2024-09-13T14:05:42.063Z\",\n \"last_used\": \"2024-09-13T14:05:42.063Z\"\n }\n]"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"400"}
value={"400"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"non_field_errors"}
required={false}
schemaName={"string[]"}
qualifierMessage={undefined}
schema={{"type":"array","items":{"type":"string"}}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
name={"property name*"}
required={false}
schemaName={"any"}
qualifierMessage={undefined}
schema={{"type":"object","description":"Validation Error","properties":{"non_field_errors":{"type":"array","items":{"type":"string"}},"code":{"type":"string"}},"additionalProperties":{},"title":"ValidationError"}}
collapsible={false}
discriminator={false}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"non_field_errors\": [\n \"string\"\n ],\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem><TabItem
label={"403"}
value={"403"}
>
<div>
</div><div>
<MimeTabs
className={"openapi-tabs__mime"}
schemaType={"response"}
>
<TabItem
label={"application/json"}
value={"application/json"}
>
<SchemaTabs
className={"openapi-tabs__schema"}
>
<TabItem
label={"Schema"}
value={"Schema"}
>
<details
style={{}}
className={"openapi-markdown__details response"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-response"}
>
<strong>
Schema
</strong>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"detail"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"code"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"detail\": \"string\",\n \"code\": \"string\"\n}"}
language={"json"}
>
</ResponseSamples>
</TabItem>
</SchemaTabs>
</TabItem>
</MimeTabs>
</div>
</TabItem>
</ApiTabs>
</div>
</div>