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

386 lines
13 KiB
Plaintext

---
id: authenticators-totp-partial-update
title: "authenticators_totp_partial_update"
description: "Viewset for totp authenticator devices"
sidebar_label: "authenticators_totp_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVlFv2zYQ/isCn1bAtbI0GAY/LUuDzUC7GonXl8IwKPFssaZIlaTcuIL+++5IyVJiNx2GPOzFIMXj3Xff3X10w0wFlntp9FywGeO1L0B7mXNvrFt746t1xa2XXK3rSnAPbMIEuNzKii7hlY8SvjrwycbYhOyTRz4SAXuZg8Nr6IeX4ME6NvvUMEmXK+4LPNJ4gDspcO3yAkrOZg3zhyp81R62YFn7NPJ1Umv5pYaks0j2XNFOUPTNQept4gvpkuWH5SJ5G3BMMYCFL7W0gOl6W0O7mjDPt4TpSfZsFW3B+d+NOBCi3GAk7WnJq0qRIUJJPzvC05xCN9lnyP0JZfdgkVD5DSH/mDVLFfISN+g3EnX077zFLNGqlPod6C2SOfv5abRlAUlRl1y/tsAFzxQk5CYxm0iPODJT8ofeyy9XLfLtpVcUZ8E9piaIyMjjXeSFtS2ZOchrK/0h1LVPZIe7VRs4dJXRLiZweXHxvybyZajDaLszHUxccPFBq0PsvYHg+VtGRA6t+SkiDI5Wg91QARaYfwyXRuTqRQn+iOyKcDW5tdbYUx6NXm8kKLEGOncjl9xafsAL0kPpTrkm+LkRZ6pAJ1wISWG5WozjjXpygBaRfZePNy/Ixx+gseXy5Hox/w4hAjyX6kxSz2U7rnvnYFT0LugzaeInVNbCiCipeRHklpqRpY9FLaUZSRsp2pS0Fuy+1+PaqmBeyXT/JmU0uf1c3xM7Mb3RdB8TKbyveuGmfQbckl4jKuL3btDQ2wdeVgqGARyxI/XGBKdd1kOkCSOQMdfLi8ur6a/Ty5PKvOc7EvxRttS0TlI8GlBqAJ6HBsBKU4VYAUqZ37bmGGkqDSHB7gDUqxHK9/MluogMUbZulqZb6Ys6m+amTEcu0mGVKZOlGEqn7+Y3t3/d3wZGKuM8CsrI+eMCRRHr3tzk/Js7aud///x2xfLw4NNKISxKNaTUdL1y8gDiJRNKOwsvM/VkgfDJsmky7uBvq9qWPmOFLck/LvccNTmjEmJTCelojX254crBM3n8dNfNwKvkP77rZxPstUiTEgU/NDATtoND/MPRrtCqQFnGjiXE8eAm4nq9pOvDxRPpaCf9jes8h8o/a7saTeniennzJ1pn3T+LMmgDs/wrvRL4G1CaQFQYvPCtYYrrbc23ZBudBrGsqXzHeezmb9IvKK2zPGARg8XS7EBjIXtaPO2Jmbb9B1PnhD4=
sidebar_class_name: "patch 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_totp_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
path={"/authenticators/totp/{id}/"}
>
</MethodEndpoint>
Viewset for totp authenticator devices
<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 TOTP Device.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><MimeTabs
className={"openapi-tabs__mime"}
>
<TabItem
label={"application/json"}
value={"application/json-schema"}
>
<details
style={{}}
className={"openapi-markdown__details mime"}
data-collapsed={false}
open={true}
>
<summary
style={{}}
className={"openapi-markdown__details-summary-mime"}
>
<h3
className={"openapi-markdown__details-summary-header-body"}
>
Body
</h3>
</summary><div
style={{"textAlign":"left","marginLeft":"1rem"}}
>
</div><ul
style={{"marginLeft":"1rem"}}
>
<SchemaItem
collapsible={false}
name={"name"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty` and `<= 64 characters`"}
schema={{"type":"string","minLength":1,"description":"The human-readable name of this device.","maxLength":64}}
>
</SchemaItem>
</ul>
</details>
</TabItem>
</MimeTabs><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>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"name\": \"string\",\n \"pk\": 0\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>