All URIs are relative to /api/v3
| Method | HTTP request | Description |
|---|---|---|
| admin_apps_list | GET /admin/apps/ | |
| admin_file_create | POST /admin/file/ | |
| admin_file_destroy | DELETE /admin/file/ | |
| admin_file_list | GET /admin/file/ | |
| admin_file_used_by_list | GET /admin/file/used_by/ | |
| admin_models_list | GET /admin/models/ | |
| admin_settings_partial_update | PATCH /admin/settings/ | |
| admin_settings_retrieve | GET /admin/settings/ | |
| admin_settings_update | PUT /admin/settings/ | |
| admin_system_create | POST /admin/system/ | |
| admin_system_retrieve | GET /admin/system/ | |
| admin_version_history_list | GET /admin/version/history/ | |
| admin_version_history_retrieve | GET /admin/version/history/{id}/ | |
| admin_version_retrieve | GET /admin/version/ |
List[App] admin_apps_list()
Read-only view list all installed apps
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.app import App
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
try:
api_response = api_instance.admin_apps_list()
print("The response of AdminApi->admin_apps_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_apps_list: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
admin_file_create(file, name=name, usage=usage)
Upload file to storage backend.
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
file = None # bytearray |
name = 'name_example' # str | (optional)
usage = 'media' # str | (optional) (default to 'media')
try:
api_instance.admin_file_create(file, name=name, usage=usage)
except Exception as e:
print("Exception when calling AdminApi->admin_file_create: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| file | bytearray | ||
| name | str | [optional] | |
| usage | str | [optional] [default to 'media'] |
void (empty response body)
- Content-Type: multipart/form-data
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | No response body | - |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
admin_file_destroy(name=name, usage=usage)
Delete file from storage backend.
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
name = 'name_example' # str | (optional)
usage = media # str | (optional) (default to media)
try:
api_instance.admin_file_destroy(name=name, usage=usage)
except Exception as e:
print("Exception when calling AdminApi->admin_file_destroy: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | [optional] | |
| usage | str | [optional] [default to media] |
void (empty response body)
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | No response body | - |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[FileList] admin_file_list(manageable_only=manageable_only, search=search, usage=usage)
List files from storage backend.
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.file_list import FileList
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
manageable_only = False # bool | (optional) (default to False)
search = 'search_example' # str | A search term. (optional)
usage = media # str | (optional) (default to media)
try:
api_response = api_instance.admin_file_list(manageable_only=manageable_only, search=search, usage=usage)
print("The response of AdminApi->admin_file_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_file_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| manageable_only | bool | [optional] [default to False] | |
| search | str | A search term. | [optional] |
| usage | str | [optional] [default to media] |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[UsedBy] admin_file_used_by_list(name=name)
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.used_by import UsedBy
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
name = 'name_example' # str | (optional)
try:
api_response = api_instance.admin_file_used_by_list(name=name)
print("The response of AdminApi->admin_file_used_by_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_file_used_by_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| name | str | [optional] |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[App] admin_models_list()
Read-only view list all installed models
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.app import App
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
try:
api_response = api_instance.admin_models_list()
print("The response of AdminApi->admin_models_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_models_list: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Settings admin_settings_partial_update(patched_settings_request=patched_settings_request)
Settings view
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.patched_settings_request import PatchedSettingsRequest
from authentik_client.models.settings import Settings
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
patched_settings_request = authentik_client.PatchedSettingsRequest() # PatchedSettingsRequest | (optional)
try:
api_response = api_instance.admin_settings_partial_update(patched_settings_request=patched_settings_request)
print("The response of AdminApi->admin_settings_partial_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_settings_partial_update: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| patched_settings_request | PatchedSettingsRequest | [optional] |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Settings admin_settings_retrieve()
Settings view
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.settings import Settings
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
try:
api_response = api_instance.admin_settings_retrieve()
print("The response of AdminApi->admin_settings_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_settings_retrieve: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Settings admin_settings_update(settings_request)
Settings view
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.settings import Settings
from authentik_client.models.settings_request import SettingsRequest
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
settings_request = authentik_client.SettingsRequest() # SettingsRequest |
try:
api_response = api_instance.admin_settings_update(settings_request)
print("The response of AdminApi->admin_settings_update:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_settings_update: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| settings_request | SettingsRequest |
- Content-Type: application/json
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SystemInfo admin_system_create()
Get system information.
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.system_info import SystemInfo
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
try:
api_response = api_instance.admin_system_create()
print("The response of AdminApi->admin_system_create:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_system_create: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
SystemInfo admin_system_retrieve()
Get system information.
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.system_info import SystemInfo
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
try:
api_response = api_instance.admin_system_retrieve()
print("The response of AdminApi->admin_system_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_system_retrieve: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
List[VersionHistory] admin_version_history_list(build=build, ordering=ordering, search=search, version=version)
VersionHistory Viewset
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.version_history import VersionHistory
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
build = 'build_example' # str | (optional)
ordering = 'ordering_example' # str | Which field to use when ordering the results. (optional)
search = 'search_example' # str | A search term. (optional)
version = 'version_example' # str | (optional)
try:
api_response = api_instance.admin_version_history_list(build=build, ordering=ordering, search=search, version=version)
print("The response of AdminApi->admin_version_history_list:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_version_history_list: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| build | str | [optional] | |
| ordering | str | Which field to use when ordering the results. | [optional] |
| search | str | A search term. | [optional] |
| version | str | [optional] |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VersionHistory admin_version_history_retrieve(id)
VersionHistory Viewset
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.version_history import VersionHistory
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
id = 56 # int | A unique integer value identifying this Version history.
try:
api_response = api_instance.admin_version_history_retrieve(id)
print("The response of AdminApi->admin_version_history_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_version_history_retrieve: %s\n" % e)| Name | Type | Description | Notes |
|---|---|---|---|
| id | int | A unique integer value identifying this Version history. |
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Version admin_version_retrieve()
Get running and latest version.
- Bearer Authentication (authentik):
import authentik_client
from authentik_client.models.version import Version
from authentik_client.rest import ApiException
from pprint import pprint
# Defining the host is optional and defaults to /api/v3
# See configuration.py for a list of all supported configuration parameters.
configuration = authentik_client.Configuration(
host = "/api/v3"
)
# The client must configure the authentication and authorization parameters
# in accordance with the API server security policy.
# Examples for each auth method are provided below, use the example that
# satisfies your auth use case.
# Configure Bearer authorization: authentik
configuration = authentik_client.Configuration(
access_token = os.environ["BEARER_TOKEN"]
)
# Enter a context with an instance of the API client
with authentik_client.ApiClient(configuration) as api_client:
# Create an instance of the API class
api_instance = authentik_client.AdminApi(api_client)
try:
api_response = api_instance.admin_version_retrieve()
print("The response of AdminApi->admin_version_retrieve:\n")
pprint(api_response)
except Exception as e:
print("Exception when calling AdminApi->admin_version_retrieve: %s\n" % e)This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | - | |
| 400 | - | |
| 403 | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]