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

387 lines
13 KiB
Plaintext

---
id: authenticators-admin-duo-partial-update
title: "authenticators_admin_duo_partial_update"
description: "Viewset for Duo authenticator devices (for admins)"
sidebar_label: "authenticators_admin_duo_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVk1v2zgQ/SsCTy3gWmkaFIVPmybBroF+BIm3l8IwKHFssaZIlaTceAX9950hZUuJHR+KHHoxSHE48+bNzKMbZiqw3Eujp4JNGK99AdrLnHtj3YKLUuqFqM2i4tZLrhZ1JbgHNmICXG5lRTfx3jcJvxz4ZGlscl2b5JGfRMBG5uCSV3QcfLrX6AJ98hI8WMcm3xsmyVHFfYFHGg9wJwWuXV5AydmkYX5bha/awwosa5+iuExqLX/WkHQWyYYr2gmCstxKvUp8IV1AeB0wjdG/hZ+1tIDpe1tDOx8xz1cE6QkbbB5twfmPRmwJUG4wkPa05FWlyBCRpD8cwWkOkZvsB+T+gL17sMit/A8RnySQOLNUMC9xg24jTXv3zlvMEa2Q4U+gV0jl5O3TYLMCkqIuuX5jgQueKUjITWKWkRyxJ6bkDzsv7y9aZNtLryjOLfeYmUCckcW7yAprW7JykNdW+m0o6i6PNe7mbWDQVUa7iP/87OxPoLFaH+kugsrFV622sTH69KfX1HrPcf9ibPd9+T0GGxHQeY9jzz8LvD8OTBAvXpTeb8itCFeTG2uNPexGoxdLCUosgM7dwCW3lm/xgvRQukPWCH5uxBE+6YQLISksV7fDeIOG7KFFZM/y8e4F+fgbNDZcnlzeTp8hRIDnUh1J6lS2w7J3DgY174KeSBM/oagWRkQ1zYugtNRWLH0saGmQ4hTlPW2kaFPSWrCbnR7XVoU7lUw371JGw7sb7XuiKOY4GPB9NoX31U64aZ8Bt6TXCI1IvutF9OaBl5WCXssGFEm9NMFpl3ofacQIZEz4/Oz8Yvxh/PagPJ/5mgR/kDJ1rpMUj+aNuoDnoQuw3FQmVoBS5q+V2UcaS0NIsEUAJWuA8vN0hi4iQ5Stm6TpSvqizsa5KdOBi7RfZcpkKYbS6afp1c2X+5vASGWcR30YOH9cpfhgJlilpHuEk+OP8KCxf+897qrn4cGnlUKclHvIsek66OBJpOHE6wSlNvg7CS82NWyBadGFpsm4g3+talv6jJW39DLgcsNRrjMqLTabkI7W2LRLrhycSO3VXTcgr5Pfe++PprnTKU0qFdzQMI3YGrbxf0g7R6sCNRwbmQDHg6sI682MrvcXD2SlHe1uXOY5VP6k7XwwwbeXs6t/0Drr/nGUQTeY5b/ogcLfgNIEnsI8hm8NU1yvar4i2+g0CGlNRdyPaTeWo92C0jrKA9YwWMzMGjTWcUeLpz0x07b/A9U6kTM=
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_duo_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
path={"/authenticators/admin/duo/{id}/"}
>
</MethodEndpoint>
Viewset for Duo 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 Duo 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={"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:** `<= 64 characters`"}
schema={{"type":"string","description":"The human-readable name of this device.","maxLength":64}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"pk\": 0,\n \"name\": \"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>