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

446 lines
16 KiB
Plaintext

---
id: authenticators-admin-static-partial-update
title: "authenticators_admin_static_partial_update"
description: "Viewset for static authenticator devices (for admins)"
sidebar_label: "authenticators_admin_static_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVltv2zYU/isEX9YCrpWkQTH4aVkabAbaLUi8vhSGQYnHFmtaVEnKjSfov+8cUrIU28mGIA97ESjpXL7znRtrbkqwwitTTCWfcFH5HAqvMuGNdQshN6pYOI8C2aIU1iuhF1UphQc+4hJcZlVJyqj6RcEPB54tjWVRgz2yxiRsVQaOvSGJYNm9RStoVmzAg3V88rXmimyVwuf4q8Af+KYknl2Ww0bwSc39rgxfCw8rsLw5BHLFqkJ9r4C1EmwrNL1JgrLcqWLFfK4cu48gPwZYY3Rh4XulLCAP3lbQzEfcixWhOqCFz6MsOP+rkTvClBn0VXg6irLUJIhgkm+OENXH4E36DTJ/xOE9WGRY/Y2g/41GYs5S8rzCF7Qcydp7cN5ipCiFPH+CYoWETs4P/c1yYHm1EcU7C0KKVAMjM8wsI0Vyz81GPHRWPlw2yLlXXpOfW+ExOBnJjFzeRW5405Cgg6yyyu9CdrtQ1vg2bwKPrjSFiyFcnJ39z8l8HfqQPbMGbCzwAyfCWrFDWeVh414aXnT5k2PBw3Fg4fPJMukRnn+gvPXd8LXVmvdZH6Z7Fn4GDSH/LPSu7R90vT7Rr4dyvdHpR37oOOQhGBpy9gQQHurtMUuE6/JVy+oLki6DKrux1tjj2jHFYqlAywXQf/cfUtxmgeBnRp6oPPojpFTkVujbob9BL/bQIrIn+Xj/inz8BgVWYsaubqdPECLBC6VPBPVctMMqaA0M0t46fSZM/IRbJTcyrpMsD6uGypsnj8d5EnZREhsoqZVsEto3YLfdTqqsDmqlSrbvE05zq5tq98RSDHMw2/YB5d6X3fKi9xSEpZ2F6Ijnu36L3DyITamhHz4DllSxNMFoG33vacQJZIz54uzicvzz+PwoQ5/FmpbeIGoqXqfIHw0nKgSRhULAjFOmeA5am19WZu9prAwhwSrBqTJE+Xk6QxORIYrWTZJkpXxepePMbJKBiaQ/pdqkCboqkk/T65s/7m8CI6VxHofpwPjjRMVLQzfp2usIO30dGZT3i28mbQ49PPik1IiWGAiR1m0pHd0MqEtRnVIeHOFhEq4vVLw5xkc6dZ0KB39Z3TT0GUvA0nbE41bgTE8px1h1Ujk6YwEvhXbwTIBv7tpmectefPk5GWw3tgoaWsES9daIr2EX72XNHKVynOdY1IQ5/riOyN7NSL1XPJoyzajTuMoyKP2zsvNBQ99eza5/R+m0vX5twhjhVvyg9YLPgNIEqkJvhm8116JYVWJFstFomKsVpXLfsm2LjroDhXWSB0xjkAj7D1PZ0RKXJTLTNP8AwLL1Sw==
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_admin_static_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
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>
</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={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>