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

395 lines
13 KiB
Plaintext

---
id: authenticators-sms-partial-update
title: "authenticators_sms_partial_update"
description: "Viewset for sms authenticator devices"
sidebar_label: "authenticators_sms_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVtGO0zoQ/ZXITxepNMuyQld9YllWUImF1bbwgqrKiaeNqWMH2ynbG+Xf74yTNOm2LAjtAy+Vk4xnzpwzPm7FTAGWe2n0VLAJ46XPQHuZcm+sW7rcLQtuveRqWRaCe2AjJsClVha0B3d8kfDDgY9WxkYYHh1kiARsZQoOd2EanoMH69jka8Uk7S24z/CTxg/4JAWuXZpBztmkYn5XhLfawxosqx8WvoxKLb+XELUR0ZYrehJUfbWTeh35TLpodjOL3gYYY8xv4XspLWCv3pZQL0bM8zVBetA6WzSx4PwbI3YEKDVYSHta8qJQFIhI4m+O4FTHyE3yDVJ/RNgMLNIp/0PEv+TMkjpe4gOmbWjap3feYo8YlUv9AfQaqZy8eFhsnkGUlTnXzy1wwRMFEaWJzKohR+yJyfl9l+XVRY1se+kV1bnlHjsTSGPD4l3DCqtrinKQllb6XRC162ODT4s6MOgKo12D//zs7G+m8WmIw2qbE9NLVHDxSatdM3g9vdO3NNpFZjQsdZknGHwC3OFuIr4f5K9NSw+SBCCLvs5ePxZ0O+yWIFw8qTxfUBsRtkbX1hp7LIPRy5UEJZZA390gJbeW73CD9JC7YzYIfmrECRHpCxdCUlmubof1BgPdQ2uQ/ZSPl0/IxzvQOLBpdHk7/QkhAjyX6kRTj3U7nII2wUDztugjbeIrNOXMiMaN0yw4Nc0yiw8NMcYTFldS1DG5NNht5+SlVSG6kPH2Zczo2HemMCNymu4G1rDvI/O+6CyfnhPglpweQRG9d739Xt/zvFDQH98BOVKvTEjaNt1XGjEC2bR6fnZ+Mf53fH4kzA3f0FUxaJZm1kmqR8eb9Odp0B+FJoFYBkqZ12uzrzSWhpDgcACa3QDlzXSOKRqGqFs3ieO19FmZjFOTx4MUcb9KlEliLKXjD9Or64+z68BIYZxHOxokP9QnOGB7V0en7+rBMP/2td1K5eHex4VCUNRoaKhqB+Xo5kRFc/qdhAud5jFD7BRYVQl38NmquqbXKK+liwOXW45unpB+OFFCOlrjTK64cvBIF//ctfP/LPqzvwMn2+tsSJMJhTR0VkZsA7vmb0q9wKgMLZnMGgE3H64aWM/ntL3feOQa9ajbcZmmUPhHYxeDA3p7Ob96j9FJ+4ckD7bALP9BNwT+BpQm8BQOXXhXMcX1uuRrim2SBp8sSbz9WWzP3qhbUFsneUANQ8TcbECjjh0tnp6Jmbr+H97rlic=
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_sms_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
path={"/authenticators/sms/{id}/"}
>
</MethodEndpoint>
Viewset for sms 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 SMS 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={false}
name={"pk"}
required={true}
schemaName={"ID (integer)"}
qualifierMessage={undefined}
schema={{"type":"integer","readOnly":true,"title":"ID"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"phone_number"}
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 \"name\": \"string\",\n \"pk\": 0,\n \"phone_number\": \"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>