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

515 lines
19 KiB
Plaintext

---
id: admin-settings-partial-update
title: "admin_settings_partial_update"
description: "Settings view"
sidebar_label: "admin_settings_partial_update"
hide_title: true
hide_table_of_contents: true
api: eJztWG1v2zYQ/isEv2wDNCt1grVwUWBZ5nUB2iJo0u7DEAiUeLZYU6JGUk48w/99d6QUy3GcrUAGFEW/tDJ1fO6Fzz0nZs1NA1Z4ZepzySdcyErVmQPvVT13WSOsV0JnbSOFB55wCa6wqiF7tL7s7NhSwQ2+9WLu+OTPiMKvE27hrxac/8XIFZ+seWFqD7WnR9E0WhXBcfrJEdqau6KEStCTXzWA+Cb/BIU/7PYSLEan/gaLNo2lVLwCF/CXwgvrBmDOW9yEhhjbG6jnvuSTZ/ehz0w9U/PWAivNDROtLzFetWCuNK2W9B+uRmg2M5a1Dqwb8Q3hzESrfUYrWVGKeg5ZLSoYRJAbo0HUe/lMa5FrYOiLiVxp5VdbbOYNi2j0XllGmAcdYvmUfmqPAZQJKS24w7nS8/+Rb48bHMMSjyOzQCxSkTSfc7pT2u7YjdKa5cAkaESSTMw8WHSnHJNtbIbR978ZWwk/YTcAC/fq+KUUK/dq/BJ5YPFn4gDJLHHlhxDYzBjEyLSqF4Fzu36vMFMTfrCiJ5gL+cd9LOxj+DqsaSQZ3ELReqxKI+YQqz6XDVbbVNg4oi7+S6H/QPYyCNWWCROYNeFDrEIhsLSS5SsmQpH3ytI2XUD09jsX16k2FIyqsNmwb8W9czgUymttcgxg1YWTSuUCCXZwdsjlzQLqrD+Qzz3qXyMKCyh3x7qPrzuAO3SFEjUPglKJW1W1FZ+Mn508P3lx/NPJ8+AzLv6Lxw53gw698pqQL4RHgZO9er2P2ogmZIR8ai12AsonilevO/jrehN01OFhuCht46OjL0dMv8nn1yWf3wTzKxbML14iezHiQRN3N1NgJ08qfR9R7mTYyqbWmn3dq02dzRRomQG9HwqgsFascIPyUD0gjBR+YSQ8/AbFQJFboS+G/gaF2IYWIztYj+MnrMdrqHEGFOz04vxAQST4XYXsk3osW7oEKAuSbgYdwPU2087pI2niUgW+NHQ/aWiGUliCGMnTcNNI+/tKymmQ2iXQUeEcba0ORo1Kl8cpp0naz9lLqkk33bbT9i780vuGwIIVdSkICzbEQlV9v73XTG8FCgzsjMlhxx0aa9628OgUOmywnRXRZk/Wt/73JDDuuCdGu67u68h+Nru6cETqVs9MKF93qtuaJpyOIwKNj8Ynoxej8R7z3ooFerj7YIj8ZU5RZUc8CQQXRSB4Vx1egtbm57m58zRShniI7Af8UgrtG2rE355fIUTkAp2rm6TpXPmyzUdYmXQAkW6fcpTfFF3V6Zvzs+m7y2k4+8Y4X4l6AB4IyHoCsu7CzB6+MA86df/uHInn4danjUbHlEwIet2xvb9XE4k7mUw4tVKJUdHr9ToXDj5YvdnQMlLU0vckPi4FftvldDL4PYkbQEhkM7XIAlbxu43C+vGKgiBz3Ybk7ovJJul3nBYFNP5R2+tB316cXp39jtZ595eAKqgFt4JSp3+x0RMeR35oyrC25hoJ3+JAx/cRNMhnuzOOut5M+gdKq1fpejUIEesTLK6IvlijpMsl0BnjRfB/APONC5I=
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={"admin_settings_partial_update"}
>
</Heading>
<MethodEndpoint
method={"patch"}
path={"/admin/settings/"}
>
</MethodEndpoint>
Settings view
<Heading
id={"request"}
as={"h2"}
className={"openapi-tabs__heading"}
children={"Request"}
>
</Heading>
<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={"avatars"}
required={false}
schemaName={"string"}
qualifierMessage={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1,"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={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1,"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={"**Possible values:** `non-empty`"}
schema={{"type":"string","minLength":1,"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>
</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={"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>