Files
authentik/website/docs/developer-docs/api/reference/authenticators-admin-sms-retrieve.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

353 lines
12 KiB
Plaintext

---
id: authenticators-admin-sms-retrieve
title: "authenticators_admin_sms_retrieve"
description: "Viewset for sms authenticator devices (for admins)"
sidebar_label: "authenticators_admin_sms_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVU1P4zAQ/SuWTyB1GwRotepp0YJQJdhFW5YLQpUTTxtTxw6206Vb5b/vjNOPlJQeEKfYsWf85r3x85LbEpwIypqh5AMuqpCDCSoTwTo/FrJQZuwLP3YQnII58B6X4DOnSorBiAcFfz0ENrGO4Ua2k4FJmKsMPDui5ZjNH2OKUjhRQADn+eBxyRUlKkXIccngAs6UxLHPcigEHyx5WJTxrwkwBcfrtyguWGXUSwVstYPNhaaZJCiThTJTFnLl2eh2xC4jpj7md/BSKQdYeHAV1E89HsSUIL3hgeOKh6xyKiwi4PXyDGdPFOfAl9Z48AT29OSEPplFLCbQUJSlplwINnn2hHjZLc6mz5CFDsEjcEpo9Q+LOsgx0epIzaAaGA2Tm/QeBTTTTvr7HFheFcJ8cSCkSDUwCmR20jAmN2wV4vUGzBRVGnw9RwXK2R5liAohfxm9aEhFSlXQtGN4SbKVuTUwNlWR4uY94Haj67ot0mNT0pskEcjT9hyUuFGY13WnTwjC+afK84DayBjKrpyzriuDNeOJAi3HQOu+lVI4JxYYoAIUvssGwc+s3CMirQgpFR0r9F37vHrLxBZag+xdPs4+kY9rMNiwGbu4G75DiIQglN5T1KFq212wStDSfHXogTLxFxpObsnkphCiB1En82T3qifRpBK8ZclSyTohFwI3XztV5XSMKVUyP0t43TKGERHUVNiyh00teQjl2tJonoJw5GQITJmJjTtX1WzDe5xObmo4PTk973/rn3YYvxUz8rdWHdSMXhWljveWhBVZFBYVJOZ5Dlrb71O7OamvLPGPqgO62NY9+O3wHlM0ZVMJfpAkUxXyKu1ntkhaKZLtKNU2TfAok9wMf1z9HF3FMkvrA/pMK/ku9c37EA3uvdem1aUfe3hWYgR4DUmpESFVHatbrhqi4/100zCctCtoNohPE3VfjgVRwHKZCg9/nK5r+o3PkKNnAodzgd6dkqjYO1J5GmMHToT2cKC0o9+rbj9mH3vY9pa5Nh1DlhPT0M3o8Rksmge3fsJdORowWTMCbhYusgzK0ArpuAPdgs3lur6ihiEOW82/avbeekDZ98JBKuOOezsDg3Su0QWaE8C6/g9s4AMy
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 Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"authenticators_admin_sms_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/authenticators/admin/sms/{id}/"}
>
</MethodEndpoint>
Viewset for sms authenticator devices (for admins)
<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"}
>
Path Parameters
</h3>
</summary><div>
<ul>
<ParamsItem
className={"paramsItem"}
param={{"in":"path","name":"id","schema":{"type":"integer"},"description":"A unique integer value identifying this SMS Device.","required":true}}
>
</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"}}
>
<SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 64 characters`"}
schema={{"type":"string","description":"The human-readable name of this device.","maxLength":64}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"phone_number"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","readOnly":true}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"name\": \"string\",\n \"pk\": 0,\n \"phone_number\": \"string\"\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>