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

477 lines
17 KiB
Plaintext

---
id: authenticators-webauthn-update
title: "authenticators_webauthn_update"
description: "Viewset for WebAuthn authenticator devices"
sidebar_label: "authenticators_webauthn_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVkuP2zYQ/isCTy3gWJtNDoVP3SaLwkDSLHY36SEwDEoaS4wpUiEp77qC/ntnSGkl+YUWzaEXgaSGM99882LDdAWGO6HVMmMLxmtXgHIi5U4bu36ChE7Uuq4y7oDNWAY2NaKiCyj+RcCTBRdttIn+hOSGZKOJjiiDnUjB4tWKG16CA2PZ4mvDBCmouCvwl8IfuBMZrm1aQMnZomFuX/lT5SAHw9pD6zdRrcT3GqJOItpxSbuMrG/2QuWRK4QdkL33WOZoxMD3WhhAl52poV3NmOM54TpggK2CLFj3m872hCrVaE05WvKqkiSIcOJvljA1x/B18g1Sd0TdAxjBpfgLYf8z9gxFygncoO5A2IsN6wx6i1KlUB9A5Ujq4jXu+HO/u766atux31+DDvJcOElKegiBpfvgNWun1zxdGCRIayPc3keyh7zF3ar1jNlKKxugouX/DW3V9kReEV6efVJyH9wbGFm+p6Q7y/WU3RlLUY+DbB08OhRHuCVH/xlV0isnSjiy7DOckK/DZaRKyk8bT/JlWqaxe0TZaGDqiAbO8xpr7RLImgQOK+5Q/jCjOr3TW2czjFCykC5T+lUtJU/oRkfKebwH/J3DM4rMlOIuujPKjLNAQw1MCSdu3v7QzP6Cwcr81ejWGH0cNaXVeiNAZmug/3akkhvD93hBOCjt6TilOjuRxfSHZ5kgs1zeje21Ax0DtIDsLB9vfiAfv4PCDE6jm7vlGUIycFzIE05d8nacH52CUeA7oxfcxCMcYoWmaVnVzs81agEsnk6OuJ+dcSOyNqbBBmbXD7/aSH+lEvHuTeyroG+pD8RPV6dDY31xpXCu6qck7RPghoYj4iKG74dhdfvMy0rCMC5G/Ai10V5p5/dgacYIZPD2+ur67fyX+euj2HzkW5quI48pba0gezReKQV46lMAY00xYgVIqX/N9YuludCEBPMDcFSMUH5cPqKKwBB5axdxnAtX1Mk81WU8UhEPq0TqJEZTKv6wfHf7x8OtZ6TS1pVcjZRPgxT1QYpOP3BGyfzv3jpdsBw8u7iSCItc9S41Xb4cvTRmrAeDy4VvW5SZBbpA0k2TcAufjWxbOsYoG5q+uNxxbPS+XWJiZcLSGrNzw6WFC/78dN9Vws/Rf3hInXS070qKepLXRaUzY1vYh1deu0KpAns3Zi6hDj/eBWyvHkNn7i8eNZF21t+4SVOo3EXZ1ahe7z5TZiXdQ670PYIZ/kSDBL8eo/ZU+fLzZw2TXOU1z0k2qPRNs6YgvlRlV4WzfjGa2FMWMIxe4lFvQWEoe1Ic7YmXtv0bbOEG+g==
sidebar_class_name: "put 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_webauthn_update"}
>
</Heading>
<MethodEndpoint
method={"put"}
path={"/authenticators/webauthn/{id}/"}
>
</MethodEndpoint>
Viewset for WebAuthn 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 WebAuthn 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><strong
className={"openapi-schema__required"}
>
required
</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:** `non-empty` and `<= 200 characters`"}
schema={{"type":"string","minLength":1,"maxLength":200}}
>
</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={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 200 characters`"}
schema={{"type":"string","maxLength":200}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"created_on"}
required={true}
schemaName={"date-time"}
qualifierMessage={undefined}
schema={{"type":"string","format":"date-time","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
device_type
</strong><span
className={"openapi-schema__name"}
>
object
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__nullable"}
>
nullable
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<div
style={{"marginTop":".5rem","marginBottom":".5rem"}}
>
WebAuthnDeviceType Serializer
</div><SchemaItem
collapsible={false}
name={"aaguid"}
required={true}
schemaName={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"description"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem>
</div>
</details>
</SchemaItem><SchemaItem
collapsible={false}
name={"aaguid"}
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 \"pk\": 0,\n \"name\": \"string\",\n \"created_on\": \"2024-09-13T14:05:42.095Z\",\n \"device_type\": {\n \"aaguid\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"description\": \"string\"\n },\n \"aaguid\": \"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>