admin_settings_retrieve
GET/api/v3//admin/settings/
Settings view
Responses
- 200
- 400
- 403
- application/json
- Schema
- Example (auto)
Schema
avatarsstring
Configure how authentik should show avatars for users.
default_user_change_nameboolean
Enable the ability for users to change their name.
default_user_change_emailboolean
Enable the ability for users to change their email address.
default_user_change_usernameboolean
Enable the ability for users to change their username.
event_retentionstring
Events will be deleted after this duration.(Format: weeks=3;days=2;hours=3,seconds=2).
footer_links
The option configures the footer links on the flow executor pages.
gdpr_complianceboolean
When enabled, all the events caused by a user will be deleted upon the user's deletion.
impersonationboolean
Globally enable/disable impersonation.
impersonation_require_reasonboolean
Require administrators to provide a reason for impersonating a user.
default_token_durationstring
Default token duration
default_token_lengthinteger
Default token length
Possible values: >= 1
and <= 2147483647
{
"avatars": "string",
"default_user_change_name": true,
"default_user_change_email": true,
"default_user_change_username": true,
"event_retention": "string",
"gdpr_compliance": true,
"impersonation": true,
"impersonation_require_reason": true,
"default_token_duration": "string",
"default_token_length": 0
}
- application/json
- Schema
- Example (auto)
Schema
non_field_errorsstring[]
codestring
property name*any
Validation Error
{
"non_field_errors": [
"string"
],
"code": "string"
}
- application/json
- Schema
- Example (auto)
Schema
detailstringrequired
codestring
{
"detail": "string",
"code": "string"
}
Authorization: http
name: authentiktype: httpscheme: bearer
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "/api/v3/admin/settings/");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());