Files
authentik/website/docs/developer-docs/api/reference/policies-password-expiry-retrieve.api.mdx
Tana M Berry 7a6d44d0df first pass
2024-10-22 15:10:13 -05:00

416 lines
16 KiB
Plaintext

---
id: policies-password-expiry-retrieve
title: "policies_password_expiry_retrieve"
description: "Password Expiry Viewset"
sidebar_label: "policies_password_expiry_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJytVltv2zYU/iuEXtYBnpU5xhr4qdlmBAbWLWia7qEIDEo6tlhTpEpSdlRD/33nkJItX+KgQx8MU4fn9p0rt5EuwXAntJpl0SQqtRSpADsvubUbbbI5PJfC1HMDzghYQzSIMrCpESXJoMR9y8imnpF9ErCx4JCv5IYX4MDYaPJ5GwniLrnL8UrhRWetnleVyJBo0xwKHk22katLurZoUi3xZqFNwR1SPGdz7MIte3yc/ckCOxMZKCcWNZ1dLiw79vDeWx2iXgNfK2EAgTtTQfM0iBxfkre7OERIs5BWRrjao+CVy0n/Cr+eSMKALbWyyIqOj66u6C/VyiETHXlZoiYf4PiLJXe3p0B18gVS92pog+PsAYzgUnwDQ0E2lEAngv1y9Xr4yGWe/aNkHWAjaOEkCbT6uyCHJB2rwwt4xoiQj3Opl0si7rkSrSVwdYLlX4xaSIf2JIYnUDyRkA0Yl5LtlCLHInCG8mAbgdcJMDIG2ZD9XrMMFrySbsA0wtiLMjBGG8u42XGTv6kuMEVtQo6Dc+jmHTgWssF2Usxq9Ic7tgG2UnrDcvw5zSATDi+A7dJ3GFi0vAaTaAvz86E8Nv4BXGVUq+4nyw6kX9E+L2VluPx+I0HuVVvYyHxe6Azk94ER2AlGoQEvy15Sn+hKZXOne3pJculr/AKAXZFguXgdmJhz+jNe27O6C/4siqqIJqNfx2/HN9e/jd8iUahA/GVHvfFTR9Vz7dWe1HvT9MfJ5z2gfvm1fpxGs222ATXwUdWcT/NTr2vbKRGGROhhdOdkSlInjH/ofPqEUyjzomxKjXcyjhSOiIUAiVvEN2ZPJTeG1yggHBT2zJTxbZudmz94wzNsPTTL5X3fXrMPyt614NmL8bj+gfG4A4WjOWW397MXApJh3sWZJr2Itl9WrYJe+lujF2CG7s017fdlu5lxC0+iuNty8dG2j7e9zdzEtJvBrLtFXhlJwrwU8fo6jpreinygSAWovUW5A5U7V3aL3jcP4KQ23kOhFqH5W1h7cd8ANoAZXY3Gw5vh6CT07/mK9n0nFRLIrChKCUPfg8rx1GcYU0kpiHKQUr9b6p2lodCUCAQOuM99/YZnyvvZR1QRYBMEO4njpXB5lQyxt+Oeinh/SqROYjSl4r9mf0z/fph6mKW2ruCqp7zLAetywEIO2Esvrl65Xnh8tRF38OziUqIbBM1D2Lbp7z1yqCIOCgApk8PHGZVcjs6T3HabcAuPRjYNkb9WYOhxhMc1x6dJQgnEOsmE9fs9miy4tHABxpsPbYn/zP73W+4s4G7YKEK05rKiLzyuoD56fjZPyJ7j2sB6JOcDx22aQul6sifjgap/1113UyoUqoH+hghFPugOpP2sXxhWz/FRr0BhaDs3HX2Tg03zH3clFXg=
sidebar_class_name: "get 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={"policies_password_expiry_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/policies/password_expiry/{policy_uuid}/"}
>
</MethodEndpoint>
Password Expiry Viewset
<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":"policy_uuid","schema":{"type":"string","format":"uuid"},"description":"A UUID string identifying this Password Expiry Policy.","required":true}}
>
</ParamsItem>
</ul>
</div>
</details><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={"uuid"}
qualifierMessage={undefined}
schema={{"type":"string","format":"uuid","readOnly":true,"title":"Policy uuid"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"execution_logging"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"When this option is enabled, all executions of this policy will be logged. By default, only execution errors are logged."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"component"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Get object component so that we know how to edit the object","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"verbose_name_plural"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return object's plural verbose_name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"meta_model_name"}
required={true}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Return internal model name","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"bound_to"}
required={true}
schemaName={"integer"}
qualifierMessage={undefined}
schema={{"type":"integer","description":"Return objects policy is bound to","readOnly":true}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"days"}
required={true}
schemaName={"integer"}
qualifierMessage={"**Possible values:** `>= -2147483648` and `<= 2147483647`"}
schema={{"type":"integer","maximum":2147483647,"minimum":-2147483648}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"deny_only"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"pk\": \"3fa85f64-5717-4562-b3fc-2c963f66afa6\",\n \"name\": \"string\",\n \"execution_logging\": true,\n \"component\": \"string\",\n \"verbose_name\": \"string\",\n \"verbose_name_plural\": \"string\",\n \"meta_model_name\": \"string\",\n \"bound_to\": 0,\n \"days\": 0,\n \"deny_only\": true\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>