Files
authentik/website/docs/developer-docs/api/reference/admin-settings-retrieve.api.mdx
2024-09-13 12:17:54 -05:00

385 lines
15 KiB
Plaintext

---
id: admin-settings-retrieve
title: "admin_settings_retrieve"
description: "Settings view"
sidebar_label: "admin_settings_retrieve"
hide_title: true
hide_table_of_contents: true
api: eJy1VlFv4zYM/iuCXrYBQdymwe6QwwE73LKiwG44oN32MBQBbTG2LrLkk+S0WZD/PlJ2Ere5dHvonixTIvnxI0VqK12DHqJ29kbJmQRVa7sIGKO2ZVh4jF7jGuVIKgyF1w2fpHO3/Qmx1vhAuxHKIGd/dfryfiQDFq3XcUPCrYQ2VmijXtHf/Y52PYbG2YCks5WTiwv+FM5GOsRLaBqji4Qq+xLY4VaGosIaeBU3DRIEl3/BIp5Hdoteg9F/o6czjec4o+48whoi+DAwFihOW54Y++jsUpetR1G5B3EIQ4TKtUbxh6SdMbF0XrQBfRjLHdtZQmvigiWLogJb4sJCjQOfuXMGwZ44nVvIDQryJSDXhkg82hbRic4a72sv2OZZh0SYNq/tMRkVoBQl8XysvP4/4t3bTY6pMm3kIuWsdGXycj7nrBDEgzZG5CgUGtJVApYRPTnQQai2uw3j739xvoY4Ew+Iq/D+6p2CTXg/eUeZ9/Q7ogJ3VpHkhwRl6RzZWBhtV6munvq9o9hc+hHFvqRCirjTE0lP0HaSGSorfKQbFImHBkrseC5VQ/y6mi4H2OK/UPsn1avAxK8aCaCo2T52LBRAZCqRbwQkWk9oaZseEO9+Fzo5c8NgdE0Xiu4mPGP+HJRr43ICsOnhZEqHlPYndp6UU3QrtIt9Qv49uT93eiLpHRJ5atGgLWM1sKep8ZSpTdTwqOu2lrPJ5fTN9O3Vj9M3JNS2E16+7LG3uyOHUUeDg2ZEwt1zZQY2fdXW9we1O5VUxdx7d9r3rLOLpUajFsj7wwYI3sOGFHTE+huNkeEXTuG3d6gZaHYL5vPQ34CII7QO2Vk+rl6Rj2u0NAMK8eHzzRlCFManHXIf1EvRevzaao+K511v4P4Yae/0hTBJVGOsHM/bEhl2A1yPMkvTM9tP30zyGPVr5ETRFG29SYcana2vMrkbTNlbZqSfbcdZewBfxdiwsXSK7yiCR5+QaLt06WQP/6g+kuy5Az25mEzHb8eXJxR/ghVBPUzGLlEi0KU21KJHKZNQpEz2w0hWaIz7qXQHT2PtmHBKM9KTINVpGhzy080dmejC5hDCLMtKHas2H1MXzAYmsuMqpz6TkSub/Xrzcf7b7TyF2bgQa7AD44lrsedanHvpDIrx9NHTsRvxMWaNIZccRoK77VO6fxBxpvpOMJJcLRXh4e3tNoeAv3uz27H4a4uen0y0XAM9X3LOCT2ZSAFBUcq4DlZIR+SHosCGi2cNpk0BPb8pXCCHQrueM5dM07BXd3Uw2i/Y+r4f2M3ANsFMJ+640RHUUQ8iNT5yRHX+D0TmnLg=
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 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={"admin_settings_retrieve"}
>
</Heading>
<MethodEndpoint
method={"get"}
path={"/admin/settings/"}
>
</MethodEndpoint>
Settings view
<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={"avatars"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Configure how authentik should show avatars for users."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"default_user_change_name"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Enable the ability for users to change their name."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"default_user_change_email"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Enable the ability for users to change their email address."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"default_user_change_username"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Enable the ability for users to change their username."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"event_retention"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2)."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"footer_links"}
required={false}
schemaName={""}
qualifierMessage={undefined}
schema={{"description":"The option configures the footer links on the flow executor pages."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"gdpr_compliance"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"When enabled, all the events caused by a user will be deleted upon the user's deletion."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"impersonation"}
required={false}
schemaName={"boolean"}
qualifierMessage={undefined}
schema={{"type":"boolean","description":"Globally enable/disable impersonation."}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"default_token_duration"}
required={false}
schemaName={"string"}
qualifierMessage={undefined}
schema={{"type":"string","description":"Default token duration"}}
>
</SchemaItem><SchemaItem
collapsible={false}
name={"default_token_length"}
required={false}
schemaName={"integer"}
qualifierMessage={"**Possible values:** `>= 1` and `<= 2147483647`"}
schema={{"type":"integer","maximum":2147483647,"minimum":1,"description":"Default token length"}}
>
</SchemaItem>
</ul>
</details>
</TabItem><TabItem
label={"Example (from schema)"}
value={"Example (from schema)"}
>
<ResponseSamples
responseExample={"{\n \"avatars\": \"string\",\n \"default_user_change_name\": true,\n \"default_user_change_email\": true,\n \"default_user_change_username\": true,\n \"event_retention\": \"string\",\n \"gdpr_compliance\": true,\n \"impersonation\": true,\n \"default_token_duration\": \"string\",\n \"default_token_length\": 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>