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

472 lines
17 KiB
Plaintext

---
id: authenticators-admin-webauthn-partial-update
title: "authenticators_admin_webauthn_partial_update"
description: "Viewset for WebAuthn authenticator devices (for admins)"
sidebar_label: "authenticators_admin_webauthn_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVktv2zgQ/isCTy3gWtm0h8Kn9aZBa6CPIPF2D4VhUOLYYk2RKkk5cQ39952hpEjyaw/tYS82Sc0Mv/nmxT0zBVjupdEzwSaMlz4D7WXKvbFuyUUu9fIREjrXy4JbL7laloXgHtiICXCplQWpo/JXCY8OfLQyNvoHkinpRAOLkYCtTMFFL0gmWHcv0Q4a5jl4sI5Nvu2ZJGsF9xl+0vgBd1Lg2qUZ5JxN9szvinCqPazBsuoQyjQqtfxRQtRIRFuuaCcIymon9TrymXQdzHcB2BgvsfCjlBaQDW9LqBYj5vmacB2Qwxa1LDj/lxE7QpUavE17WvKiUCSIcOLvjjDtj+Gb5Duk/ojHB7DIsvyJsP+bSmLPUhC9xA3argl7vsN5i96iFHL9EfQaSZ38gTv+1O6ur64qJNBLr0jhjnvEKdpba2Lua0dZVZGog7S00u9CsFpUG9wtqkCKK4x2NRo0/r9hpticSB3Cy8UXrXZ1wDsiZu8or87SOSRwxFK040Esa48OxRFuztF/RpXzysscjm4OSUzIl7UyUqXUl1Ug+TItw1jNUTbqmDqigfN1ieV0CWRJAodFdShPmdAVy7fW7lBr0fF5jJLV6TKkX5dK8YQ0GlLO4z3g7xyeXmSGFDfRHVFmnAXKQsoPCSdu3vzWzP6KwRJBNbq11hxHTRu9XElQYgn03fVMcmv5DhWkh9ydjlNqxIkspi9cCEnXcnXXv6/XEDpoNbKzfLz+jXy8B40ZnEbTu9kZQgR4LtUJpy5528+PxkAv8M2lF9zEI5xTmRH1gEqzMLyoCbB4OB7iMN3idnbGeymqmGYY2G0750qrgmIh4+3rOFRD21ofiKemXrsG++xS5n3RDkTaJ8AtzUHER0zfd3Pp9onnhYJuMvR4knplgtHG/+6mESOQtdfXV9dvxm/H10cx+sQ3NEh7flP6Okn30SSlVOBpSAWMOcWKZaCU+XNtnm8aS0NIME8AR0YP5afZHE3UDJG3bhLHa+mzMhmnJo97JuJulSiTxHiVjj/Obm4/P9wGRgrjfM51z/gwVPVDJGpDFTXPnOj0M6eX4r/w4mni6OHJx4VCxMRC8HbfJNTRe4NqFdXxv0WKy0nocJTEGXpJWvt9wh38bVVV0TEmgqVBjcstx5kQOivmnpCO1pjIK64cXHDyxX1TNC+jX3hWnXS4bWCa2lewRVU2YhvY1W++aoFSGbZ5TG5CXX+4qbG9mtdNvFU86jfVqNWYpikU/qLsolfad9P5zQeUTpqHXR4aCrP8kaYO/gaUJpAVajSc7Zniel3yNcnWRkOHLSmcz6XblOqoXfTG+5AHDGSQmJsNaAxmS4unPTFTVf8C26MWsg==
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_admin_webauthn_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
path={"/authenticators/admin/webauthn/{id}/"}
>
</MethodEndpoint>
Viewset for WebAuthn 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 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-07-29T15:51:28.071Z\",\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>