All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
rootConfigRetrieve | GET /root/config/ |
Config rootConfigRetrieve()
Retrieve public configuration options
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = RootApi()
try {
val result : Config = apiInstance.rootConfigRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling RootApi#rootConfigRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling RootApi#rootConfigRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json