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

473 lines
17 KiB
Plaintext

---
id: authenticators-webauthn-partial-update
title: "authenticators_webauthn_partial_update"
description: "Viewset for WebAuthn authenticator devices"
sidebar_label: "authenticators_webauthn_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVkuP2zYQ/isCTw3gWJtNDoVPcTeL1EDSLHad9BAYBiWOLcYUqZCUd11D/70zlLSS/EKK5pCLQcrz+OabF/fMFGC5l0bPBJswXvoMtJcp98a65SMk9EUvC2695GpZFoJ7YCMmwKVWFqSIal8kPDrw0crY6G9IpqQTDWxFArYyBYeqaIvn4ME6Nvm6Z5IMFNxn+JfGP/AmBZ5dmkHO2WTP/K4IX7WHNVhWHXqfRqWW30uIGoloyxXdBHlf7aReRz6TrkP2LmAZoxML30tpAUP3toRqMWKerwnXARNsUcuC838YsSNUqUFv2tORF4UiQYQTf3OEaX8M3yTfIPVH1D2ARWLlPwj7x9izlDEv8YK2a8KefThvMVqUyqX+AHqNpE5e4Y0/tbfrq6sKCfTSK1K44x5xitZrTcx9HSirKhJ1kJZW+l1IVotqg7dFFUhxhdGuRoPGfxlmis2J0iG8XHzSalcnvCNi9o7q6iydQwJHLEU7HsSyjuhQHOHmHONn1CwvvczhyHMoYkK+rJWRKqU+rQLJl2kZ5mqOslHH1BENnK9LbKdLIEsSOGyqQ3mqhK5ZvrZ2h1qLjs9jlKwulyH9ulSKJ6TRkHIe7wF/5/D0MjOkuMnuiCrjLFAWSn5IOHHz5qdW9hdMlgiq0a215jhr2ujlSoISS6D/Xc8kt5bvUEF6yN3pPKVGnKhi+ocLIcktV3d9f72B0EGrkZ3l4/VP5OM9aKzgNJrezc4QIsBzqU4EdSnafn00BnqJb5xeCBM/4Z7KjKgXVJqF5UVDgMXD9RC3izLeS1HFtL3AbtsNV1oVVAoZb1/HoQ/aofpADDWd2o3W52Ay74t2FdI9AW5pAyIy4vi+20i3TzwvFHQ7oceQ1CsTjDaRd55GjEDW8V5fXb8Z/z5+dZSdj3xDK7QXMRWuk+SPdigVAU9DEWC2KUssA6XM27V59jSWhpBghQAuix7Kj7M5mqgZomjdJI7X0mdlMk5NHvdMxN0pUSaJ0ZWOP8xubv96uA2MFMb5nOue8WGSojZJUfOaiU6/Znpl/d8eNk3SPDz5uFAIj0IOoe2bujl6VoxYCwqPkzDAqEYzDIWk9/uEO/hsVVXRZ8y2pT2Mxy3HkR8GJxaYkI7OWKcrrhxciOe3+6YnXkT/49V0MtB2PmmaTsEWNdGIbWBXP+mqBUplOMWxggl1/cdNje3lvJ7RreLROKlGrcY0TaHwF2UXvc69m85v/kTppHm35WFeMMsfaangb0BpAlmhEcO3PVNcr0u+JtnaaBigJaXxuT+bfhy1h972HvKAiQwSc7MBjclsafF0J2aq6l/nFATH
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 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_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
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>
</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 `<= 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.096Z\",\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>