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

449 lines
16 KiB
Plaintext

---
id: authenticators-admin-static-update
title: "authenticators_admin_static_update"
description: "Viewset for static authenticator devices (for admins)"
sidebar_label: "authenticators_admin_static_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVktv2zgQ/isCL9sCrpWmQbHwabNtUBhou0GS9lIYBi2OLdYUqZKUG6+g/74zpGTJj2SLIIdeBIqcxzffDGdYM1OC5V4aPRVswnjlc9BeZtwb6+ZcFFLPnUeBbF6VgntgIybAZVaWpIQqXyX8dOCTpbFJlEz2rCQCNjIDl7wgiWDRvUQrJbe8AA/Wscm3mkmyVXKf45HGA/yTAtcuy6HgbFIzvy3DrvawAsuaQyCXSaXljwqSViLZcEV/gqAst1KvEp9Ll9xGkO8DrDG6sPCjkhYwfm8raGYj5vmKUB3QwWZRFpz/24gtYcoM+tKelrwsFQkimPS7I0T1MXiz+A6ZP+LwFqzkSv6LoP+PRmLOUtK8xB+0HMnaeXDeYqQohTx/BL1CQievD/3d5ZDkVcH1Kwtc8IWChMwkZhkpEjtuCn7fWXl70TRDsr5F10SX9Ip8R2YjsTeRKNbsKwWGMauQVVb6bUh9F+ca/2ZNINmVRrsY3/nZ2W/O9PNwizSaNeBtAz9wwq3lW5SVHgr31PCiyz9cEjwcBxa2T9ZQj/D128PsR60H0n8XDoMGF/9otd2lvlyfuMyHcr3R6Xt2suyCoSFnDwCJBbjPEuG6eNay+oqki6CaXFlr7HHtGD1fSlBiDnTufiHFbRYIfmbEicqjEy6EJLdcXQ/9NT0ZPbSI7EE+3jwjHx9AYyVmyeX19AFCBHgu1YmgHot2WAWtgUHaW6ePhIlbOHJyQ6OurHyYQlTcLN3v9GkYU2m8PmktRZPSKAK76cZVZVVQK2W6eZMy6lpdT7sljmKQg862Cyf3vuzmGv0vgFsaZ4iNWL7pB8zVPS9KBX3rGXAk9dIEo23svacRI5Ax4vOz84vxn+Pzo/x84muah4OoqXSdJH/UmqgMeBbKAPNNeWI5KGX+Wpmdp7E0hARrBHvKEOWn6R2aiAxRtG6Spivp82oxzkyRDkyk/WqhzCJFVzr9OH139fn2KjBSGuexlQ6M7ycqvie6Pnf6hTIo6ic/Vtrcebj3aakQJUUeIqzbEjp6LNDdRHVKdXCEi0l40VDJ5hgX6dT1gjv4YlXT0Dam3tJMxOWGYydfUG6x2oR0tMayXXLl4JEAX9y0V+Rl8uT30Mlgu2alqVUFS3SjRmwN2/hUa2YolWMXx2ImzPHgXUT26o7Ue8Wj3tKMOo3LLIPSPyo7G1zj6y9UbIv2PVaE1sEs/0kjBb8BowlEhRsZ9mqmuF5VfEWy0WTopRUlcndR24s56hYU1EkWMIlBIsw8TGRHShyQyEvT/AcEyPd/
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 Heading from "@theme/Heading";
import OperationTabs from "@theme/OperationTabs";
import TabItem from "@theme/TabItem";
<Heading
as={"h1"}
className={"openapi__heading"}
children={"authenticators_admin_static_update"}
>
</Heading>
<MethodEndpoint
method={"put"}
path={"/authenticators/admin/static/{id}/"}
>
</MethodEndpoint>
Viewset for static 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 Static 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 `<= 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={true}
className={"schemaItem"}
>
<details
style={{}}
className={"openapi-markdown__details"}
>
<summary
style={{}}
>
<span
className={"openapi-schema__container"}
>
<strong
className={"openapi-schema__property"}
>
token_set
</strong><span
className={"openapi-schema__name"}
>
object[]
</span><span
className={"openapi-schema__divider"}
>
</span><span
className={"openapi-schema__required"}
>
required
</span>
</span>
</summary><div
style={{"marginLeft":"1rem"}}
>
<li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem","paddingBottom":".5rem"}}
>
Array [
</div>
</li><SchemaItem
collapsible={false}
name={"token"}
required={true}
schemaName={"string"}
qualifierMessage={"**Possible values:** `<= 16 characters`"}
schema={{"type":"string","maxLength":16}}
>
</SchemaItem><li>
<div
style={{"fontSize":"var(--ifm-code-font-size)","opacity":"0.6","marginLeft":"-.5rem"}}
>
]
</div>
</li>
</div>
</details>
</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 \"token_set\": [\n {\n \"token\": \"string\"\n }\n ],\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>