All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
enterpriseLicenseCreate | POST /enterprise/license/ | |
enterpriseLicenseDestroy | DELETE /enterprise/license/{license_uuid}/ | |
enterpriseLicenseForecastRetrieve | GET /enterprise/license/forecast/ | |
enterpriseLicenseGetInstallIdRetrieve | GET /enterprise/license/get_install_id/ | |
enterpriseLicenseList | GET /enterprise/license/ | |
enterpriseLicensePartialUpdate | PATCH /enterprise/license/{license_uuid}/ | |
enterpriseLicenseRetrieve | GET /enterprise/license/{license_uuid}/ | |
enterpriseLicenseSummaryRetrieve | GET /enterprise/license/summary/ | |
enterpriseLicenseUpdate | PUT /enterprise/license/{license_uuid}/ | |
enterpriseLicenseUsedByList | GET /enterprise/license/{license_uuid}/used_by/ |
License enterpriseLicenseCreate(licenseRequest)
License Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
val licenseRequest : LicenseRequest = // LicenseRequest |
try {
val result : License = apiInstance.enterpriseLicenseCreate(licenseRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
licenseRequest | LicenseRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
enterpriseLicenseDestroy(licenseUuid)
License Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
val licenseUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this License.
try {
apiInstance.enterpriseLicenseDestroy(licenseUuid)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | java.util.UUID | A UUID string identifying this License. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
LicenseForecast enterpriseLicenseForecastRetrieve()
Forecast how many users will be required in a year
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
try {
val result : LicenseForecast = apiInstance.enterpriseLicenseForecastRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseForecastRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseForecastRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
InstallID enterpriseLicenseGetInstallIdRetrieve()
Get install_id
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
try {
val result : InstallID = apiInstance.enterpriseLicenseGetInstallIdRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseGetInstallIdRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseGetInstallIdRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedLicenseList enterpriseLicenseList(name, ordering, page, pageSize, search)
License Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
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 : PaginatedLicenseList = apiInstance.enterpriseLicenseList(name, ordering, page, pageSize, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
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
License enterpriseLicensePartialUpdate(licenseUuid, patchedLicenseRequest)
License Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
val licenseUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this License.
val patchedLicenseRequest : PatchedLicenseRequest = // PatchedLicenseRequest |
try {
val result : License = apiInstance.enterpriseLicensePartialUpdate(licenseUuid, patchedLicenseRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicensePartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicensePartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | java.util.UUID | A UUID string identifying this License. | |
patchedLicenseRequest | PatchedLicenseRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
License enterpriseLicenseRetrieve(licenseUuid)
License Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
val licenseUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this License.
try {
val result : License = apiInstance.enterpriseLicenseRetrieve(licenseUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | java.util.UUID | A UUID string identifying this License. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
LicenseSummary enterpriseLicenseSummaryRetrieve()
Get the total license status
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
try {
val result : LicenseSummary = apiInstance.enterpriseLicenseSummaryRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseSummaryRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseSummaryRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
License enterpriseLicenseUpdate(licenseUuid, licenseRequest)
License Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
val licenseUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this License.
val licenseRequest : LicenseRequest = // LicenseRequest |
try {
val result : License = apiInstance.enterpriseLicenseUpdate(licenseUuid, licenseRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | java.util.UUID | A UUID string identifying this License. | |
licenseRequest | LicenseRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> enterpriseLicenseUsedByList(licenseUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = EnterpriseApi()
val licenseUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this License.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.enterpriseLicenseUsedByList(licenseUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling EnterpriseApi#enterpriseLicenseUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling EnterpriseApi#enterpriseLicenseUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
licenseUuid | java.util.UUID | A UUID string identifying this License. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json