Skip to content

Commit b7f36fb

Browse files
-e Update API Client
#### What's Changed --- ##### `POST` /core/users/{id}/impersonate/ ###### Return Type: Deleted response : **401 Unauthorized** > Access denied
1 parent 0201007 commit b7f36fb

File tree

9 files changed

+6
-12
lines changed

9 files changed

+6
-12
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This repo contains a generated API client to talk with authentik's API from Pyth
1616
This Python package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
1717

1818
- API version: 2025.10.0-rc1
19-
- Package version: 2025.10.0-rc1-1756473212
19+
- Package version: 2025.10.0-rc1-1756908486
2020
- Generator version: 7.15.0
2121
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
2222

authentik_client/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
""" # noqa: E501
1616

1717

18-
__version__ = "2025.10.0-rc1-1756473212"
18+
__version__ = "2025.10.0-rc1-1756908486"
1919

2020
# Define package exports
2121
__all__ = [

authentik_client/api/core_api.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16301,7 +16301,6 @@ def core_users_impersonate_create(
1630116301

1630216302
_response_types_map: Dict[str, Optional[str]] = {
1630316303
'204': None,
16304-
'401': None,
1630516304
'400': "ValidationError",
1630616305
'403': "GenericError",
1630716306
}
@@ -16375,7 +16374,6 @@ def core_users_impersonate_create_with_http_info(
1637516374

1637616375
_response_types_map: Dict[str, Optional[str]] = {
1637716376
'204': None,
16378-
'401': None,
1637916377
'400': "ValidationError",
1638016378
'403': "GenericError",
1638116379
}
@@ -16449,7 +16447,6 @@ def core_users_impersonate_create_without_preload_content(
1644916447

1645016448
_response_types_map: Dict[str, Optional[str]] = {
1645116449
'204': None,
16452-
'401': None,
1645316450
'400': "ValidationError",
1645416451
'403': "GenericError",
1645516452
}

authentik_client/api_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def __init__(
9292
self.default_headers[header_name] = header_value
9393
self.cookie = cookie
9494
# Set default User-Agent.
95-
self.user_agent = 'OpenAPI-Generator/2025.10.0-rc1-1756473212/python'
95+
self.user_agent = 'OpenAPI-Generator/2025.10.0-rc1-1756908486/python'
9696
self.client_side_validation = configuration.client_side_validation
9797

9898
def __enter__(self):

authentik_client/configuration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -511,7 +511,7 @@ def to_debug_report(self) -> str:
511511
"OS: {env}\n"\
512512
"Python Version: {pyversion}\n"\
513513
"Version of the API: 2025.10.0-rc1\n"\
514-
"SDK Package Version: 2025.10.0-rc1-1756473212".\
514+
"SDK Package Version: 2025.10.0-rc1-1756908486".\
515515
format(env=sys.platform, pyversion=sys.version)
516516

517517
def get_host_settings(self) -> List[HostSetting]:

docs/CoreApi.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4458,7 +4458,6 @@ void (empty response body)
44584458
| Status code | Description | Response headers |
44594459
|-------------|-------------|------------------|
44604460
**204** | Successfully started impersonation | - |
4461-
**401** | Access denied | - |
44624461
**400** | | - |
44634462
**403** | | - |
44644463

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "authentik_client"
3-
version = "2025.10.0-rc1-1756473212"
3+
version = "2025.10.0-rc1-1756908486"
44
description = "authentik"
55
authors = [
66
{name = "authentik Team",email = "[email protected]"},

schema.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6006,8 +6006,6 @@ paths:
60066006
responses:
60076007
'204':
60086008
description: Successfully started impersonation
6009-
'401':
6010-
description: Access denied
60116009
'400':
60126010
content:
60136011
application/json:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
# prerequisite: setuptools
2323
# http://pypi.python.org/pypi/setuptools
2424
NAME = "authentik-client"
25-
VERSION = "2025.10.0-rc1-1756473212"
25+
VERSION = "2025.10.0-rc1-1756908486"
2626
PYTHON_REQUIRES = ">= 3.9"
2727
REQUIRES = [
2828
"urllib3 >= 2.1.0, < 3.0.0",

0 commit comments

Comments
 (0)