Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Latest commit

 

History

History
55 lines (37 loc) · 1.14 KB

RootApi.md

File metadata and controls

55 lines (37 loc) · 1.14 KB

RootApi

All URIs are relative to http://localhost/api/v3

Method HTTP request Description
rootConfigRetrieve GET /root/config/

rootConfigRetrieve

Config rootConfigRetrieve()

Retrieve public configuration options

Example

// 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()
}

Parameters

This endpoint does not need any parameter.

Return type

Config

Authorization

Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json