Skip to content

Commit 9d956de

Browse files
Update API Client
#### What's Changed --- ##### `POST` /core/groups/{group_uuid}/remove_user/ ###### Return Type: Changed response : **204 No Content** > User removed ##### `GET` /core/users/impersonate_end/ ###### Return Type: Changed response : **204 No Content** > Successfully ended impersonation ##### `GET` /policies/geoip/{policy_uuid}/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `countries` (array) ##### `PUT` /policies/geoip/{policy_uuid}/ ###### Request: Changed content type : `application/json` * Changed property `countries` (array) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `countries` (array) ##### `PATCH` /policies/geoip/{policy_uuid}/ ###### Request: Changed content type : `application/json` * Changed property `countries` (array) ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `countries` (array) ##### `POST` /policies/geoip/ ###### Request: Changed content type : `application/json` * Changed property `countries` (array) ###### Return Type: Changed response : **201 Created** * Changed content type : `application/json` * Changed property `countries` (array) ##### `GET` /policies/geoip/ ###### Return Type: Changed response : **200 OK** * Changed content type : `application/json` * Changed property `results` (array) Changed items (object): > GeoIP Policy Serializer * Changed property `countries` (array)
1 parent fec2aff commit 9d956de

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Sources/authentikClient/APIs/CoreAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1623,7 +1623,7 @@ open class CoreAPI {
16231623

16241624
/**
16251625
- POST /core/groups/{group_uuid}/remove_user/
1626-
- Add user to group
1626+
- Remove user from group
16271627
- Bearer Token:
16281628
- type: http
16291629
- name: authentik

docs/CoreAPI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,7 @@ Name | Type | Description | Notes
18701870

18711871

18721872

1873-
Add user to group
1873+
Remove user from group
18741874

18751875
### Example
18761876
```swift

schema.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5030,7 +5030,7 @@ paths:
50305030
/core/groups/{group_uuid}/remove_user/:
50315031
post:
50325032
operationId: core_groups_remove_user_create
5033-
description: Add user to group
5033+
description: Remove user from group
50345034
parameters:
50355035
- in: path
50365036
name: group_uuid
@@ -5051,7 +5051,7 @@ paths:
50515051
- authentik: []
50525052
responses:
50535053
'204':
5054-
description: User added
5054+
description: User removed
50555055
'404':
50565056
description: User not found
50575057
'400':
@@ -6166,7 +6166,7 @@ paths:
61666166
- authentik: []
61676167
responses:
61686168
'204':
6169-
description: Successfully started impersonation
6169+
description: Successfully ended impersonation
61706170
'400':
61716171
content:
61726172
application/json:

0 commit comments

Comments
 (0)