All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
coreApplicationsCheckAccessRetrieve | GET /core/applications/{slug}/check_access/ | |
coreApplicationsCreate | POST /core/applications/ | |
coreApplicationsDestroy | DELETE /core/applications/{slug}/ | |
coreApplicationsList | GET /core/applications/ | |
coreApplicationsMetricsList | GET /core/applications/{slug}/metrics/ | |
coreApplicationsPartialUpdate | PATCH /core/applications/{slug}/ | |
coreApplicationsRetrieve | GET /core/applications/{slug}/ | |
coreApplicationsSetIconCreate | POST /core/applications/{slug}/set_icon/ | |
coreApplicationsSetIconUrlCreate | POST /core/applications/{slug}/set_icon_url/ | |
coreApplicationsUpdate | PUT /core/applications/{slug}/ | |
coreApplicationsUsedByList | GET /core/applications/{slug}/used_by/ | |
coreAuthenticatedSessionsDestroy | DELETE /core/authenticated_sessions/{uuid}/ | |
coreAuthenticatedSessionsList | GET /core/authenticated_sessions/ | |
coreAuthenticatedSessionsRetrieve | GET /core/authenticated_sessions/{uuid}/ | |
coreAuthenticatedSessionsUsedByList | GET /core/authenticated_sessions/{uuid}/used_by/ | |
coreBrandsCreate | POST /core/brands/ | |
coreBrandsCurrentRetrieve | GET /core/brands/current/ | |
coreBrandsDestroy | DELETE /core/brands/{brand_uuid}/ | |
coreBrandsList | GET /core/brands/ | |
coreBrandsPartialUpdate | PATCH /core/brands/{brand_uuid}/ | |
coreBrandsRetrieve | GET /core/brands/{brand_uuid}/ | |
coreBrandsUpdate | PUT /core/brands/{brand_uuid}/ | |
coreBrandsUsedByList | GET /core/brands/{brand_uuid}/used_by/ | |
coreGroupsAddUserCreate | POST /core/groups/{group_uuid}/add_user/ | |
coreGroupsCreate | POST /core/groups/ | |
coreGroupsDestroy | DELETE /core/groups/{group_uuid}/ | |
coreGroupsList | GET /core/groups/ | |
coreGroupsPartialUpdate | PATCH /core/groups/{group_uuid}/ | |
coreGroupsRemoveUserCreate | POST /core/groups/{group_uuid}/remove_user/ | |
coreGroupsRetrieve | GET /core/groups/{group_uuid}/ | |
coreGroupsUpdate | PUT /core/groups/{group_uuid}/ | |
coreGroupsUsedByList | GET /core/groups/{group_uuid}/used_by/ | |
coreTokensCreate | POST /core/tokens/ | |
coreTokensDestroy | DELETE /core/tokens/{identifier}/ | |
coreTokensList | GET /core/tokens/ | |
coreTokensPartialUpdate | PATCH /core/tokens/{identifier}/ | |
coreTokensRetrieve | GET /core/tokens/{identifier}/ | |
coreTokensSetKeyCreate | POST /core/tokens/{identifier}/set_key/ | |
coreTokensUpdate | PUT /core/tokens/{identifier}/ | |
coreTokensUsedByList | GET /core/tokens/{identifier}/used_by/ | |
coreTokensViewKeyRetrieve | GET /core/tokens/{identifier}/view_key/ | |
coreTransactionalApplicationsUpdate | PUT /core/transactional/applications/ | |
coreUserConsentDestroy | DELETE /core/user_consent/{id}/ | |
coreUserConsentList | GET /core/user_consent/ | |
coreUserConsentRetrieve | GET /core/user_consent/{id}/ | |
coreUserConsentUsedByList | GET /core/user_consent/{id}/used_by/ | |
coreUsersCreate | POST /core/users/ | |
coreUsersDestroy | DELETE /core/users/{id}/ | |
coreUsersImpersonateCreate | POST /core/users/{id}/impersonate/ | |
coreUsersImpersonateEndRetrieve | GET /core/users/impersonate_end/ | |
coreUsersList | GET /core/users/ | |
coreUsersMeRetrieve | GET /core/users/me/ | |
coreUsersMetricsRetrieve | GET /core/users/{id}/metrics/ | |
coreUsersPartialUpdate | PATCH /core/users/{id}/ | |
coreUsersPathsRetrieve | GET /core/users/paths/ | |
coreUsersRecoveryEmailRetrieve | GET /core/users/{id}/recovery_email/ | |
coreUsersRecoveryRetrieve | GET /core/users/{id}/recovery/ | |
coreUsersRetrieve | GET /core/users/{id}/ | |
coreUsersServiceAccountCreate | POST /core/users/service_account/ | |
coreUsersSetPasswordCreate | POST /core/users/{id}/set_password/ | |
coreUsersUpdate | PUT /core/users/{id}/ | |
coreUsersUsedByList | GET /core/users/{id}/used_by/ |
PolicyTestResult coreApplicationsCheckAccessRetrieve(slug, forUser)
Check access to a single application by slug
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
val forUser : kotlin.Int = 56 // kotlin.Int |
try {
val result : PolicyTestResult = apiInstance.coreApplicationsCheckAccessRetrieve(slug, forUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsCheckAccessRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsCheckAccessRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
forUser | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Application coreApplicationsCreate(applicationRequest)
Application Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val applicationRequest : ApplicationRequest = // ApplicationRequest |
try {
val result : Application = apiInstance.coreApplicationsCreate(applicationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
applicationRequest | ApplicationRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
coreApplicationsDestroy(slug)
Application Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
apiInstance.coreApplicationsDestroy(slug)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedApplicationList coreApplicationsList(forUser, group, metaDescription, metaLaunchUrl, metaPublisher, name, ordering, page, pageSize, search, slug, superuserFullList)
Custom list method that checks Policy based access instead of guardian
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val forUser : kotlin.Int = 56 // kotlin.Int |
val group : kotlin.String = group_example // kotlin.String |
val metaDescription : kotlin.String = metaDescription_example // kotlin.String |
val metaLaunchUrl : kotlin.String = metaLaunchUrl_example // kotlin.String |
val metaPublisher : kotlin.String = metaPublisher_example // kotlin.String |
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val slug : kotlin.String = slug_example // kotlin.String |
val superuserFullList : kotlin.Boolean = true // kotlin.Boolean |
try {
val result : PaginatedApplicationList = apiInstance.coreApplicationsList(forUser, group, metaDescription, metaLaunchUrl, metaPublisher, name, ordering, page, pageSize, search, slug, superuserFullList)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
forUser | kotlin.Int | [optional] | |
group | kotlin.String | [optional] | |
metaDescription | kotlin.String | [optional] | |
metaLaunchUrl | kotlin.String | [optional] | |
metaPublisher | kotlin.String | [optional] | |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
slug | kotlin.String | [optional] | |
superuserFullList | kotlin.Boolean | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<Coordinate> coreApplicationsMetricsList(slug)
Metrics for application logins
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : kotlin.collections.List<Coordinate> = apiInstance.coreApplicationsMetricsList(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsMetricsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsMetricsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
kotlin.collections.List<Coordinate>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Application coreApplicationsPartialUpdate(slug, patchedApplicationRequest)
Application Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
val patchedApplicationRequest : PatchedApplicationRequest = // PatchedApplicationRequest |
try {
val result : Application = apiInstance.coreApplicationsPartialUpdate(slug, patchedApplicationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
patchedApplicationRequest | PatchedApplicationRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Application coreApplicationsRetrieve(slug)
Application Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : Application = apiInstance.coreApplicationsRetrieve(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreApplicationsSetIconCreate(slug, file, clear)
Set application icon
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
val file : java.io.File = BINARY_DATA_HERE // java.io.File |
val clear : kotlin.Boolean = true // kotlin.Boolean |
try {
apiInstance.coreApplicationsSetIconCreate(slug, file, clear)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsSetIconCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsSetIconCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
file | java.io.File | [optional] | |
clear | kotlin.Boolean | [optional] [default to false] |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: multipart/form-data
- Accept: application/json
coreApplicationsSetIconUrlCreate(slug, filePathRequest)
Set application icon (as URL)
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
val filePathRequest : FilePathRequest = // FilePathRequest |
try {
apiInstance.coreApplicationsSetIconUrlCreate(slug, filePathRequest)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsSetIconUrlCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsSetIconUrlCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
filePathRequest | FilePathRequest |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Application coreApplicationsUpdate(slug, applicationRequest)
Application Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
val applicationRequest : ApplicationRequest = // ApplicationRequest |
try {
val result : Application = apiInstance.coreApplicationsUpdate(slug, applicationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
applicationRequest | ApplicationRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> coreApplicationsUsedByList(slug)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.coreApplicationsUsedByList(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreApplicationsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreApplicationsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreAuthenticatedSessionsDestroy(uuid)
AuthenticatedSession Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Authenticated Session.
try {
apiInstance.coreAuthenticatedSessionsDestroy(uuid)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreAuthenticatedSessionsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreAuthenticatedSessionsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Authenticated Session. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedAuthenticatedSessionList coreAuthenticatedSessionsList(lastIp, lastUserAgent, ordering, page, pageSize, search, userUsername)
AuthenticatedSession Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val lastIp : kotlin.String = lastIp_example // kotlin.String |
val lastUserAgent : kotlin.String = lastUserAgent_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val userUsername : kotlin.String = userUsername_example // kotlin.String |
try {
val result : PaginatedAuthenticatedSessionList = apiInstance.coreAuthenticatedSessionsList(lastIp, lastUserAgent, ordering, page, pageSize, search, userUsername)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreAuthenticatedSessionsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreAuthenticatedSessionsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
lastIp | kotlin.String | [optional] | |
lastUserAgent | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
userUsername | kotlin.String | [optional] |
PaginatedAuthenticatedSessionList
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
AuthenticatedSession coreAuthenticatedSessionsRetrieve(uuid)
AuthenticatedSession Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Authenticated Session.
try {
val result : AuthenticatedSession = apiInstance.coreAuthenticatedSessionsRetrieve(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreAuthenticatedSessionsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreAuthenticatedSessionsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Authenticated Session. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<UsedBy> coreAuthenticatedSessionsUsedByList(uuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Authenticated Session.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.coreAuthenticatedSessionsUsedByList(uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreAuthenticatedSessionsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreAuthenticatedSessionsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | java.util.UUID | A UUID string identifying this Authenticated Session. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Brand coreBrandsCreate(brandRequest)
Brand Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val brandRequest : BrandRequest = // BrandRequest |
try {
val result : Brand = apiInstance.coreBrandsCreate(brandRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
brandRequest | BrandRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
CurrentBrand coreBrandsCurrentRetrieve()
Get current brand
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
try {
val result : CurrentBrand = apiInstance.coreBrandsCurrentRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsCurrentRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsCurrentRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = "" Configure mobile_device_token: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreBrandsDestroy(brandUuid)
Brand Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val brandUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Brand.
try {
apiInstance.coreBrandsDestroy(brandUuid)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
brandUuid | java.util.UUID | A UUID string identifying this Brand. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedBrandList coreBrandsList(brandUuid, brandingFavicon, brandingLogo, brandingTitle, default, domain, flowAuthentication, flowDeviceCode, flowInvalidation, flowRecovery, flowUnenrollment, flowUserSettings, ordering, page, pageSize, search, webCertificate)
Brand Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val brandUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val brandingFavicon : kotlin.String = brandingFavicon_example // kotlin.String |
val brandingLogo : kotlin.String = brandingLogo_example // kotlin.String |
val brandingTitle : kotlin.String = brandingTitle_example // kotlin.String |
val default : kotlin.Boolean = true // kotlin.Boolean |
val domain : kotlin.String = domain_example // kotlin.String |
val flowAuthentication : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val flowDeviceCode : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val flowInvalidation : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val flowRecovery : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val flowUnenrollment : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val flowUserSettings : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val webCertificate : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
try {
val result : PaginatedBrandList = apiInstance.coreBrandsList(brandUuid, brandingFavicon, brandingLogo, brandingTitle, default, domain, flowAuthentication, flowDeviceCode, flowInvalidation, flowRecovery, flowUnenrollment, flowUserSettings, ordering, page, pageSize, search, webCertificate)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
brandUuid | java.util.UUID | [optional] | |
brandingFavicon | kotlin.String | [optional] | |
brandingLogo | kotlin.String | [optional] | |
brandingTitle | kotlin.String | [optional] | |
default | kotlin.Boolean | [optional] | |
domain | kotlin.String | [optional] | |
flowAuthentication | java.util.UUID | [optional] | |
flowDeviceCode | java.util.UUID | [optional] | |
flowInvalidation | java.util.UUID | [optional] | |
flowRecovery | java.util.UUID | [optional] | |
flowUnenrollment | java.util.UUID | [optional] | |
flowUserSettings | java.util.UUID | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
webCertificate | java.util.UUID | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Brand coreBrandsPartialUpdate(brandUuid, patchedBrandRequest)
Brand Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val brandUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Brand.
val patchedBrandRequest : PatchedBrandRequest = // PatchedBrandRequest |
try {
val result : Brand = apiInstance.coreBrandsPartialUpdate(brandUuid, patchedBrandRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
brandUuid | java.util.UUID | A UUID string identifying this Brand. | |
patchedBrandRequest | PatchedBrandRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Brand coreBrandsRetrieve(brandUuid)
Brand Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val brandUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Brand.
try {
val result : Brand = apiInstance.coreBrandsRetrieve(brandUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
brandUuid | java.util.UUID | A UUID string identifying this Brand. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Brand coreBrandsUpdate(brandUuid, brandRequest)
Brand Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val brandUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Brand.
val brandRequest : BrandRequest = // BrandRequest |
try {
val result : Brand = apiInstance.coreBrandsUpdate(brandUuid, brandRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
brandUuid | java.util.UUID | A UUID string identifying this Brand. | |
brandRequest | BrandRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> coreBrandsUsedByList(brandUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val brandUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Brand.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.coreBrandsUsedByList(brandUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreBrandsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreBrandsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
brandUuid | java.util.UUID | A UUID string identifying this Brand. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreGroupsAddUserCreate(groupUuid, userAccountRequest)
Add user to group
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Group.
val userAccountRequest : UserAccountRequest = // UserAccountRequest |
try {
apiInstance.coreGroupsAddUserCreate(groupUuid, userAccountRequest)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsAddUserCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsAddUserCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupUuid | java.util.UUID | A UUID string identifying this Group. | |
userAccountRequest | UserAccountRequest |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Group coreGroupsCreate(groupRequest)
Group Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupRequest : GroupRequest = // GroupRequest |
try {
val result : Group = apiInstance.coreGroupsCreate(groupRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupRequest | GroupRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
coreGroupsDestroy(groupUuid)
Group Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Group.
try {
apiInstance.coreGroupsDestroy(groupUuid)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupUuid | java.util.UUID | A UUID string identifying this Group. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedGroupList coreGroupsList(attributes, isSuperuser, membersByPk, membersByUsername, name, ordering, page, pageSize, search)
Group Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val attributes : kotlin.String = attributes_example // kotlin.String | Attributes
val isSuperuser : kotlin.Boolean = true // kotlin.Boolean |
val membersByPk : kotlin.collections.List<kotlin.Int> = // kotlin.collections.List<kotlin.Int> |
val membersByUsername : kotlin.collections.List<kotlin.String> = // kotlin.collections.List<kotlin.String> | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedGroupList = apiInstance.coreGroupsList(attributes, isSuperuser, membersByPk, membersByUsername, name, ordering, page, pageSize, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
attributes | kotlin.String | Attributes | [optional] |
isSuperuser | kotlin.Boolean | [optional] | |
membersByPk | kotlin.collections.List<kotlin.Int> | [optional] | |
membersByUsername | kotlin.collections.List<kotlin.String> | Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only. | [optional] |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Group coreGroupsPartialUpdate(groupUuid, patchedGroupRequest)
Group Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Group.
val patchedGroupRequest : PatchedGroupRequest = // PatchedGroupRequest |
try {
val result : Group = apiInstance.coreGroupsPartialUpdate(groupUuid, patchedGroupRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupUuid | java.util.UUID | A UUID string identifying this Group. | |
patchedGroupRequest | PatchedGroupRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
coreGroupsRemoveUserCreate(groupUuid, userAccountRequest)
Add user to group
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Group.
val userAccountRequest : UserAccountRequest = // UserAccountRequest |
try {
apiInstance.coreGroupsRemoveUserCreate(groupUuid, userAccountRequest)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsRemoveUserCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsRemoveUserCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupUuid | java.util.UUID | A UUID string identifying this Group. | |
userAccountRequest | UserAccountRequest |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Group coreGroupsRetrieve(groupUuid)
Group Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Group.
try {
val result : Group = apiInstance.coreGroupsRetrieve(groupUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupUuid | java.util.UUID | A UUID string identifying this Group. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Group coreGroupsUpdate(groupUuid, groupRequest)
Group Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Group.
val groupRequest : GroupRequest = // GroupRequest |
try {
val result : Group = apiInstance.coreGroupsUpdate(groupUuid, groupRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupUuid | java.util.UUID | A UUID string identifying this Group. | |
groupRequest | GroupRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> coreGroupsUsedByList(groupUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val groupUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Group.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.coreGroupsUsedByList(groupUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreGroupsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreGroupsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
groupUuid | java.util.UUID | A UUID string identifying this Group. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Token coreTokensCreate(tokenRequest)
Token Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val tokenRequest : TokenRequest = // TokenRequest |
try {
val result : Token = apiInstance.coreTokensCreate(tokenRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tokenRequest | TokenRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
coreTokensDestroy(identifier)
Token Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
try {
apiInstance.coreTokensDestroy(identifier)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedTokenList coreTokensList(description, expires, expiring, identifier, intent, managed, ordering, page, pageSize, search, userUsername)
Token Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val description : kotlin.String = description_example // kotlin.String |
val expires : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val expiring : kotlin.Boolean = true // kotlin.Boolean |
val identifier : kotlin.String = identifier_example // kotlin.String |
val intent : kotlin.String = intent_example // kotlin.String | * `verification` - Intent Verification * `api` - Intent Api * `recovery` - Intent Recovery * `app_password` - Intent App Password
val managed : kotlin.String = managed_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val userUsername : kotlin.String = userUsername_example // kotlin.String |
try {
val result : PaginatedTokenList = apiInstance.coreTokensList(description, expires, expiring, identifier, intent, managed, ordering, page, pageSize, search, userUsername)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
description | kotlin.String | [optional] | |
expires | java.time.OffsetDateTime | [optional] | |
expiring | kotlin.Boolean | [optional] | |
identifier | kotlin.String | [optional] | |
intent | kotlin.String | * `verification` - Intent Verification * `api` - Intent Api * `recovery` - Intent Recovery * `app_password` - Intent App Password | [optional] [enum: api, app_password, recovery, verification] |
managed | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
userUsername | kotlin.String | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Token coreTokensPartialUpdate(identifier, patchedTokenRequest)
Token Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
val patchedTokenRequest : PatchedTokenRequest = // PatchedTokenRequest |
try {
val result : Token = apiInstance.coreTokensPartialUpdate(identifier, patchedTokenRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String | ||
patchedTokenRequest | PatchedTokenRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Token coreTokensRetrieve(identifier)
Token Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
try {
val result : Token = apiInstance.coreTokensRetrieve(identifier)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreTokensSetKeyCreate(identifier, tokenSetKeyRequest)
Set token key. Action is logged as event. `authentik_core.set_token_key` permission is required.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
val tokenSetKeyRequest : TokenSetKeyRequest = // TokenSetKeyRequest |
try {
apiInstance.coreTokensSetKeyCreate(identifier, tokenSetKeyRequest)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensSetKeyCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensSetKeyCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String | ||
tokenSetKeyRequest | TokenSetKeyRequest |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Token coreTokensUpdate(identifier, tokenRequest)
Token Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
val tokenRequest : TokenRequest = // TokenRequest |
try {
val result : Token = apiInstance.coreTokensUpdate(identifier, tokenRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String | ||
tokenRequest | TokenRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> coreTokensUsedByList(identifier)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.coreTokensUsedByList(identifier)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
TokenView coreTokensViewKeyRetrieve(identifier)
Return token key and log access
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
try {
val result : TokenView = apiInstance.coreTokensViewKeyRetrieve(identifier)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTokensViewKeyRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTokensViewKeyRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
TransactionApplicationResponse coreTransactionalApplicationsUpdate(transactionApplicationRequest)
Convert data into a blueprint, validate it and apply it
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val transactionApplicationRequest : TransactionApplicationRequest = // TransactionApplicationRequest |
try {
val result : TransactionApplicationResponse = apiInstance.coreTransactionalApplicationsUpdate(transactionApplicationRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreTransactionalApplicationsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreTransactionalApplicationsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
transactionApplicationRequest | TransactionApplicationRequest |
TransactionApplicationResponse
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
coreUserConsentDestroy(id)
UserConsent Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User Consent.
try {
apiInstance.coreUserConsentDestroy(id)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUserConsentDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUserConsentDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User Consent. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedUserConsentList coreUserConsentList(application, ordering, page, pageSize, search, user)
UserConsent Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val application : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val user : kotlin.Int = 56 // kotlin.Int |
try {
val result : PaginatedUserConsentList = apiInstance.coreUserConsentList(application, ordering, page, pageSize, search, user)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUserConsentList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUserConsentList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
application | java.util.UUID | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
user | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
UserConsent coreUserConsentRetrieve(id)
UserConsent Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User Consent.
try {
val result : UserConsent = apiInstance.coreUserConsentRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUserConsentRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUserConsentRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User Consent. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<UsedBy> coreUserConsentUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User Consent.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.coreUserConsentUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUserConsentUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUserConsentUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User Consent. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
User coreUsersCreate(userRequest)
User Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val userRequest : UserRequest = // UserRequest |
try {
val result : User = apiInstance.coreUsersCreate(userRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
userRequest | UserRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
coreUsersDestroy(id)
User Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
try {
apiInstance.coreUsersDestroy(id)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreUsersImpersonateCreate(id)
Impersonate a user
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
try {
apiInstance.coreUsersImpersonateCreate(id)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersImpersonateCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersImpersonateCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreUsersImpersonateEndRetrieve()
End Impersonation a user
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
try {
apiInstance.coreUsersImpersonateEndRetrieve()
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersImpersonateEndRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersImpersonateEndRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedUserList coreUsersList(attributes, email, groupsByName, groupsByPk, isActive, isSuperuser, name, ordering, page, pageSize, path, pathStartswith, search, type, username, uuid)
User Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val attributes : kotlin.String = attributes_example // kotlin.String | Attributes
val email : kotlin.String = email_example // kotlin.String |
val groupsByName : kotlin.collections.List<kotlin.String> = // kotlin.collections.List<kotlin.String> |
val groupsByPk : kotlin.collections.List<java.util.UUID> = // kotlin.collections.List<java.util.UUID> |
val isActive : kotlin.Boolean = true // kotlin.Boolean |
val isSuperuser : kotlin.Boolean = true // kotlin.Boolean |
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val path : kotlin.String = path_example // kotlin.String |
val pathStartswith : kotlin.String = pathStartswith_example // kotlin.String |
val search : kotlin.String = search_example // kotlin.String | A search term.
val type : kotlin.collections.List<kotlin.String> = // kotlin.collections.List<kotlin.String> | * `internal` - Internal * `external` - External * `service_account` - Service Account * `internal_service_account` - Internal Service Account
val username : kotlin.String = username_example // kotlin.String |
val uuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
try {
val result : PaginatedUserList = apiInstance.coreUsersList(attributes, email, groupsByName, groupsByPk, isActive, isSuperuser, name, ordering, page, pageSize, path, pathStartswith, search, type, username, uuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
attributes | kotlin.String | Attributes | [optional] |
kotlin.String | [optional] | ||
groupsByName | kotlin.collections.List<kotlin.String> | [optional] | |
groupsByPk | kotlin.collections.List<java.util.UUID> | [optional] | |
isActive | kotlin.Boolean | [optional] | |
isSuperuser | kotlin.Boolean | [optional] | |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
path | kotlin.String | [optional] | |
pathStartswith | kotlin.String | [optional] | |
search | kotlin.String | A search term. | [optional] |
type | kotlin.collections.List<kotlin.String> | * `internal` - Internal * `external` - External * `service_account` - Service Account * `internal_service_account` - Internal Service Account | [optional] [enum: external, internal, internal_service_account, service_account] |
username | kotlin.String | [optional] | |
uuid | java.util.UUID | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
SessionUser coreUsersMeRetrieve()
Get information about current user
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
try {
val result : SessionUser = apiInstance.coreUsersMeRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersMeRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersMeRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = "" Configure mobile_device_token: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
UserMetrics coreUsersMetricsRetrieve(id)
User metrics per 1h
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
try {
val result : UserMetrics = apiInstance.coreUsersMetricsRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersMetricsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersMetricsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
User coreUsersPartialUpdate(id, patchedUserRequest)
User Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
val patchedUserRequest : PatchedUserRequest = // PatchedUserRequest |
try {
val result : User = apiInstance.coreUsersPartialUpdate(id, patchedUserRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. | |
patchedUserRequest | PatchedUserRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
UserPath coreUsersPathsRetrieve(search)
Get all user paths
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val search : kotlin.String = search_example // kotlin.String |
try {
val result : UserPath = apiInstance.coreUsersPathsRetrieve(search)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersPathsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersPathsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
search | kotlin.String | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
coreUsersRecoveryEmailRetrieve(id, emailStage)
Create a temporary link that a user can use to recover their accounts
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
val emailStage : kotlin.String = emailStage_example // kotlin.String |
try {
apiInstance.coreUsersRecoveryEmailRetrieve(id, emailStage)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersRecoveryEmailRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersRecoveryEmailRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. | |
emailStage | kotlin.String |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Link coreUsersRecoveryRetrieve(id)
Create a temporary link that a user can use to recover their accounts
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
try {
val result : Link = apiInstance.coreUsersRecoveryRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersRecoveryRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersRecoveryRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
User coreUsersRetrieve(id)
User Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
try {
val result : User = apiInstance.coreUsersRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
UserServiceAccountResponse coreUsersServiceAccountCreate(userServiceAccountRequest)
Create a new user account that is marked as a service account
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val userServiceAccountRequest : UserServiceAccountRequest = // UserServiceAccountRequest |
try {
val result : UserServiceAccountResponse = apiInstance.coreUsersServiceAccountCreate(userServiceAccountRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersServiceAccountCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersServiceAccountCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
userServiceAccountRequest | UserServiceAccountRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
coreUsersSetPasswordCreate(id, userPasswordSetRequest)
Set password for user
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
val userPasswordSetRequest : UserPasswordSetRequest = // UserPasswordSetRequest |
try {
apiInstance.coreUsersSetPasswordCreate(id, userPasswordSetRequest)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersSetPasswordCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersSetPasswordCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. | |
userPasswordSetRequest | UserPasswordSetRequest |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
User coreUsersUpdate(id, userRequest)
User Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
val userRequest : UserRequest = // UserRequest |
try {
val result : User = apiInstance.coreUsersUpdate(id, userRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. | |
userRequest | UserRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> coreUsersUsedByList(id)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = CoreApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this User.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.coreUsersUsedByList(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling CoreApi#coreUsersUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling CoreApi#coreUsersUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this User. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json