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

400 lines
13 KiB
Plaintext

---
id: authenticators-sms-update
title: "authenticators_sms_update"
description: "Viewset for sms authenticator devices"
sidebar_label: "authenticators_sms_update"
hide_title: true
hide_table_of_contents: true
api: eJzNVlFv2zYQ/isCn1bAtdI0GAY/LWuDwUCzBXHal8IwKPFssaZIlaTceIL+e+9IyZZjNR2GPOxFIKXj3Xffd7xTw0wFlntp9FywGeO1L0B7mXNvrFu50q3qSnAPbMIEuNzKimzR8pOEbw58sjY2QbPk5GQiYCdzcHiq4paX4ME6NvvcMElnK+4L/KTxA+6kwLXLCyg5mzXM76vwVnvYgGXt08DXSa3l1xqSziLZcUU7QdHXe6k3iS+kSxa3i+R9gDFF/xa+1tIC5uhtDe1ywjzfEKQnKbNltAXn/zBiT4Byg4G0pyWvKkWGiCT94ghOc47cZF8g92eELcBKruQ/iPinnFlSxUvcoNtI08G98xZzRKtS6g+gN0jl7M3TYA8FJEVdcv3aAhc8U5CQm8SsIzniQEzJH3svv1617ZCpzzE0cSW9otjIaaT0PlLE2tMTgVsUE/LaSr8PivdJbnG3bAO9rjLaxeQuLy7+zxy/DKsYbTtS2kQFF39rtY/MHXmev6e6rwqjYaXrMkPjEXCnp0e1e+IkABnTMwp5mi1BuHpReT6hNiIcTW6sNfZcBqNXawlKrIC+u4FLbi3f4wHpoXTnbBD83IgREekLF0JSWK7uhvHaIxNHaBHZD/l4+4J8/AkaCzZPru/mPyBEgOdSjST1XLbDKugcDDTvgj6TJr7Cjl0YGghV7UMTp0pm6WmvTPF+pY0UbUoNHOyub/K1VcG6kunubcro0vctYUHUxNwGjeGQReF91U8D2mfALQ0BhETk3h87880jLysFx8s7oEbqtQlOu5SPkSaMQMZELy8ur6a/Td+cyXLLtzRFBslSxTpJ8ehyk/o8D+qjzCQPK0Ap8/vGHCJNpSEkWBqArW6A8nb+gC4iQ5Stm6XpRvqizqa5KdOBi/S4ypTJUgyl0w/zdzd/LW4CI5VxHpvRwPmpPqH/jY/vQQn/60neSeTh0aeVQjCUYEik6QrkbJiikiU9Z2HGUxUWiJkMmybjDj5a1bb0GmW1NC5wuePYwzPSDStJSEdrrMQ1Vw6eyeKX+67qXyX/7Q9hNL2++WhqPcEN3ZAJ28I+/rm0S7QqsBFTi0bA8cO7COv1Ax0/HjzrFe2kP3Gd51D5Z22Xg2t595GqKOv+UMrQCpjl32gq4DNgNIGlcNXCu4Yprjc135BtdBl6Y03SHW5gd+Mm/YKSGmUBFQwWD2YLGlXsSfG0J17a9ju5KJhZ
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 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_sms_update"}
>
</Heading>
<MethodEndpoint
method={"put"}
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><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={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>