All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
policiesAllCacheClearCreate | POST /policies/all/cache_clear/ | |
policiesAllCacheInfoRetrieve | GET /policies/all/cache_info/ | |
policiesAllDestroy | DELETE /policies/all/{policy_uuid}/ | |
policiesAllList | GET /policies/all/ | |
policiesAllRetrieve | GET /policies/all/{policy_uuid}/ | |
policiesAllTestCreate | POST /policies/all/{policy_uuid}/test/ | |
policiesAllTypesList | GET /policies/all/types/ | |
policiesAllUsedByList | GET /policies/all/{policy_uuid}/used_by/ | |
policiesBindingsCreate | POST /policies/bindings/ | |
policiesBindingsDestroy | DELETE /policies/bindings/{policy_binding_uuid}/ | |
policiesBindingsList | GET /policies/bindings/ | |
policiesBindingsPartialUpdate | PATCH /policies/bindings/{policy_binding_uuid}/ | |
policiesBindingsRetrieve | GET /policies/bindings/{policy_binding_uuid}/ | |
policiesBindingsUpdate | PUT /policies/bindings/{policy_binding_uuid}/ | |
policiesBindingsUsedByList | GET /policies/bindings/{policy_binding_uuid}/used_by/ | |
policiesDummyCreate | POST /policies/dummy/ | |
policiesDummyDestroy | DELETE /policies/dummy/{policy_uuid}/ | |
policiesDummyList | GET /policies/dummy/ | |
policiesDummyPartialUpdate | PATCH /policies/dummy/{policy_uuid}/ | |
policiesDummyRetrieve | GET /policies/dummy/{policy_uuid}/ | |
policiesDummyUpdate | PUT /policies/dummy/{policy_uuid}/ | |
policiesDummyUsedByList | GET /policies/dummy/{policy_uuid}/used_by/ | |
policiesEventMatcherCreate | POST /policies/event_matcher/ | |
policiesEventMatcherDestroy | DELETE /policies/event_matcher/{policy_uuid}/ | |
policiesEventMatcherList | GET /policies/event_matcher/ | |
policiesEventMatcherPartialUpdate | PATCH /policies/event_matcher/{policy_uuid}/ | |
policiesEventMatcherRetrieve | GET /policies/event_matcher/{policy_uuid}/ | |
policiesEventMatcherUpdate | PUT /policies/event_matcher/{policy_uuid}/ | |
policiesEventMatcherUsedByList | GET /policies/event_matcher/{policy_uuid}/used_by/ | |
policiesExpressionCreate | POST /policies/expression/ | |
policiesExpressionDestroy | DELETE /policies/expression/{policy_uuid}/ | |
policiesExpressionList | GET /policies/expression/ | |
policiesExpressionPartialUpdate | PATCH /policies/expression/{policy_uuid}/ | |
policiesExpressionRetrieve | GET /policies/expression/{policy_uuid}/ | |
policiesExpressionUpdate | PUT /policies/expression/{policy_uuid}/ | |
policiesExpressionUsedByList | GET /policies/expression/{policy_uuid}/used_by/ | |
policiesPasswordCreate | POST /policies/password/ | |
policiesPasswordDestroy | DELETE /policies/password/{policy_uuid}/ | |
policiesPasswordExpiryCreate | POST /policies/password_expiry/ | |
policiesPasswordExpiryDestroy | DELETE /policies/password_expiry/{policy_uuid}/ | |
policiesPasswordExpiryList | GET /policies/password_expiry/ | |
policiesPasswordExpiryPartialUpdate | PATCH /policies/password_expiry/{policy_uuid}/ | |
policiesPasswordExpiryRetrieve | GET /policies/password_expiry/{policy_uuid}/ | |
policiesPasswordExpiryUpdate | PUT /policies/password_expiry/{policy_uuid}/ | |
policiesPasswordExpiryUsedByList | GET /policies/password_expiry/{policy_uuid}/used_by/ | |
policiesPasswordList | GET /policies/password/ | |
policiesPasswordPartialUpdate | PATCH /policies/password/{policy_uuid}/ | |
policiesPasswordRetrieve | GET /policies/password/{policy_uuid}/ | |
policiesPasswordUpdate | PUT /policies/password/{policy_uuid}/ | |
policiesPasswordUsedByList | GET /policies/password/{policy_uuid}/used_by/ | |
policiesReputationCreate | POST /policies/reputation/ | |
policiesReputationDestroy | DELETE /policies/reputation/{policy_uuid}/ | |
policiesReputationList | GET /policies/reputation/ | |
policiesReputationPartialUpdate | PATCH /policies/reputation/{policy_uuid}/ | |
policiesReputationRetrieve | GET /policies/reputation/{policy_uuid}/ | |
policiesReputationScoresDestroy | DELETE /policies/reputation/scores/{reputation_uuid}/ | |
policiesReputationScoresList | GET /policies/reputation/scores/ | |
policiesReputationScoresRetrieve | GET /policies/reputation/scores/{reputation_uuid}/ | |
policiesReputationScoresUsedByList | GET /policies/reputation/scores/{reputation_uuid}/used_by/ | |
policiesReputationUpdate | PUT /policies/reputation/{policy_uuid}/ | |
policiesReputationUsedByList | GET /policies/reputation/{policy_uuid}/used_by/ |
policiesAllCacheClearCreate()
Clear policy cache
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
try {
apiInstance.policiesAllCacheClearCreate()
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllCacheClearCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllCacheClearCreate")
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
Cache policiesAllCacheInfoRetrieve()
Info about cached policies
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
try {
val result : Cache = apiInstance.policiesAllCacheInfoRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllCacheInfoRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllCacheInfoRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
policiesAllDestroy(policyUuid)
Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy.
try {
apiInstance.policiesAllDestroy(policyUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Policy. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedPolicyList policiesAllList(bindingsIsnull, ordering, page, pageSize, promptstageIsnull, search)
Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val bindingsIsnull : kotlin.Boolean = true // kotlin.Boolean |
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 promptstageIsnull : kotlin.Boolean = true // kotlin.Boolean |
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedPolicyList = apiInstance.policiesAllList(bindingsIsnull, ordering, page, pageSize, promptstageIsnull, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
bindingsIsnull | kotlin.Boolean | [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] |
promptstageIsnull | kotlin.Boolean | [optional] | |
search | kotlin.String | A search term. | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Policy policiesAllRetrieve(policyUuid)
Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy.
try {
val result : Policy = apiInstance.policiesAllRetrieve(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Policy. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PolicyTestResult policiesAllTestCreate(policyUuid, policyTestRequest)
Test policy
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy.
val policyTestRequest : PolicyTestRequest = // PolicyTestRequest |
try {
val result : PolicyTestResult = apiInstance.policiesAllTestCreate(policyUuid, policyTestRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllTestCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllTestCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Policy. | |
policyTestRequest | PolicyTestRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<TypeCreate> policiesAllTypesList()
Get all creatable policy types
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
try {
val result : kotlin.collections.List<TypeCreate> = apiInstance.policiesAllTypesList()
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllTypesList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllTypesList")
e.printStackTrace()
}
This endpoint does not need any parameter.
kotlin.collections.List<TypeCreate>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<UsedBy> policiesAllUsedByList(policyUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesAllUsedByList(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesAllUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesAllUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Policy. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PolicyBinding policiesBindingsCreate(policyBindingRequest)
PolicyBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyBindingRequest : PolicyBindingRequest = // PolicyBindingRequest |
try {
val result : PolicyBinding = apiInstance.policiesBindingsCreate(policyBindingRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesBindingsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesBindingsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyBindingRequest | PolicyBindingRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
policiesBindingsDestroy(policyBindingUuid)
PolicyBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyBindingUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy Binding.
try {
apiInstance.policiesBindingsDestroy(policyBindingUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesBindingsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesBindingsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyBindingUuid | java.util.UUID | A UUID string identifying this Policy Binding. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedPolicyBindingList policiesBindingsList(enabled, order, ordering, page, pageSize, policy, policyIsnull, search, target, targetIn, timeout)
PolicyBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val enabled : kotlin.Boolean = true // kotlin.Boolean |
val order : kotlin.Int = 56 // kotlin.Int |
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 policy : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val policyIsnull : kotlin.Boolean = true // kotlin.Boolean |
val search : kotlin.String = search_example // kotlin.String | A search term.
val target : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val targetIn : kotlin.collections.List<java.util.UUID> = // kotlin.collections.List<java.util.UUID> |
val timeout : kotlin.Int = 56 // kotlin.Int |
try {
val result : PaginatedPolicyBindingList = apiInstance.policiesBindingsList(enabled, order, ordering, page, pageSize, policy, policyIsnull, search, target, targetIn, timeout)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesBindingsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesBindingsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
enabled | kotlin.Boolean | [optional] | |
order | kotlin.Int | [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] |
policy | java.util.UUID | [optional] | |
policyIsnull | kotlin.Boolean | [optional] | |
search | kotlin.String | A search term. | [optional] |
target | java.util.UUID | [optional] | |
targetIn | kotlin.collections.List<java.util.UUID> | [optional] | |
timeout | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PolicyBinding policiesBindingsPartialUpdate(policyBindingUuid, patchedPolicyBindingRequest)
PolicyBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyBindingUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy Binding.
val patchedPolicyBindingRequest : PatchedPolicyBindingRequest = // PatchedPolicyBindingRequest |
try {
val result : PolicyBinding = apiInstance.policiesBindingsPartialUpdate(policyBindingUuid, patchedPolicyBindingRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesBindingsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesBindingsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyBindingUuid | java.util.UUID | A UUID string identifying this Policy Binding. | |
patchedPolicyBindingRequest | PatchedPolicyBindingRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
PolicyBinding policiesBindingsRetrieve(policyBindingUuid)
PolicyBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyBindingUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy Binding.
try {
val result : PolicyBinding = apiInstance.policiesBindingsRetrieve(policyBindingUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesBindingsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesBindingsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyBindingUuid | java.util.UUID | A UUID string identifying this Policy Binding. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PolicyBinding policiesBindingsUpdate(policyBindingUuid, policyBindingRequest)
PolicyBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyBindingUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy Binding.
val policyBindingRequest : PolicyBindingRequest = // PolicyBindingRequest |
try {
val result : PolicyBinding = apiInstance.policiesBindingsUpdate(policyBindingUuid, policyBindingRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesBindingsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesBindingsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyBindingUuid | java.util.UUID | A UUID string identifying this Policy Binding. | |
policyBindingRequest | PolicyBindingRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> policiesBindingsUsedByList(policyBindingUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyBindingUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Policy Binding.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesBindingsUsedByList(policyBindingUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesBindingsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesBindingsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyBindingUuid | java.util.UUID | A UUID string identifying this Policy Binding. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
DummyPolicy policiesDummyCreate(dummyPolicyRequest)
Dummy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val dummyPolicyRequest : DummyPolicyRequest = // DummyPolicyRequest |
try {
val result : DummyPolicy = apiInstance.policiesDummyCreate(dummyPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesDummyCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesDummyCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
dummyPolicyRequest | DummyPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
policiesDummyDestroy(policyUuid)
Dummy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Dummy Policy.
try {
apiInstance.policiesDummyDestroy(policyUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesDummyDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesDummyDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Dummy Policy. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedDummyPolicyList policiesDummyList(created, executionLogging, lastUpdated, name, ordering, page, pageSize, policyUuid, result, search, waitMax, waitMin)
Dummy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val created : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val executionLogging : kotlin.Boolean = true // kotlin.Boolean |
val lastUpdated : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
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 policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val result : kotlin.Boolean = true // kotlin.Boolean |
val search : kotlin.String = search_example // kotlin.String | A search term.
val waitMax : kotlin.Int = 56 // kotlin.Int |
val waitMin : kotlin.Int = 56 // kotlin.Int |
try {
val result : PaginatedDummyPolicyList = apiInstance.policiesDummyList(created, executionLogging, lastUpdated, name, ordering, page, pageSize, policyUuid, result, search, waitMax, waitMin)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesDummyList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesDummyList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
created | java.time.OffsetDateTime | [optional] | |
executionLogging | kotlin.Boolean | [optional] | |
lastUpdated | java.time.OffsetDateTime | [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] |
policyUuid | java.util.UUID | [optional] | |
result | kotlin.Boolean | [optional] | |
search | kotlin.String | A search term. | [optional] |
waitMax | kotlin.Int | [optional] | |
waitMin | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
DummyPolicy policiesDummyPartialUpdate(policyUuid, patchedDummyPolicyRequest)
Dummy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Dummy Policy.
val patchedDummyPolicyRequest : PatchedDummyPolicyRequest = // PatchedDummyPolicyRequest |
try {
val result : DummyPolicy = apiInstance.policiesDummyPartialUpdate(policyUuid, patchedDummyPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesDummyPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesDummyPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Dummy Policy. | |
patchedDummyPolicyRequest | PatchedDummyPolicyRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
DummyPolicy policiesDummyRetrieve(policyUuid)
Dummy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Dummy Policy.
try {
val result : DummyPolicy = apiInstance.policiesDummyRetrieve(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesDummyRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesDummyRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Dummy Policy. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
DummyPolicy policiesDummyUpdate(policyUuid, dummyPolicyRequest)
Dummy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Dummy Policy.
val dummyPolicyRequest : DummyPolicyRequest = // DummyPolicyRequest |
try {
val result : DummyPolicy = apiInstance.policiesDummyUpdate(policyUuid, dummyPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesDummyUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesDummyUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Dummy Policy. | |
dummyPolicyRequest | DummyPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> policiesDummyUsedByList(policyUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Dummy Policy.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesDummyUsedByList(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesDummyUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesDummyUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Dummy Policy. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
EventMatcherPolicy policiesEventMatcherCreate(eventMatcherPolicyRequest)
Event Matcher Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val eventMatcherPolicyRequest : EventMatcherPolicyRequest = // EventMatcherPolicyRequest |
try {
val result : EventMatcherPolicy = apiInstance.policiesEventMatcherCreate(eventMatcherPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesEventMatcherCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesEventMatcherCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
eventMatcherPolicyRequest | EventMatcherPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
policiesEventMatcherDestroy(policyUuid)
Event Matcher Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event Matcher Policy.
try {
apiInstance.policiesEventMatcherDestroy(policyUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesEventMatcherDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesEventMatcherDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Event Matcher Policy. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedEventMatcherPolicyList policiesEventMatcherList(action, app, clientIp, created, executionLogging, lastUpdated, model, name, ordering, page, pageSize, policyUuid, search)
Event Matcher Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val action : kotlin.String = action_example // kotlin.String | Match created events with this action type. When left empty, all action types will be matched. * `login` - Login * `login_failed` - Login Failed * `logout` - Logout * `user_write` - User Write * `suspicious_request` - Suspicious Request * `password_set` - Password Set * `secret_view` - Secret View * `secret_rotate` - Secret Rotate * `invitation_used` - Invite Used * `authorize_application` - Authorize Application * `source_linked` - Source Linked * `impersonation_started` - Impersonation Started * `impersonation_ended` - Impersonation Ended * `flow_execution` - Flow Execution * `policy_execution` - Policy Execution * `policy_exception` - Policy Exception * `property_mapping_exception` - Property Mapping Exception * `system_task_execution` - System Task Execution * `system_task_exception` - System Task Exception * `system_exception` - System Exception * `configuration_error` - Configuration Error * `model_created` - Model Created * `model_updated` - Model Updated * `model_deleted` - Model Deleted * `email_sent` - Email Sent * `update_available` - Update Available * `custom_` - Custom Prefix
val app : kotlin.String = app_example // kotlin.String |
val clientIp : kotlin.String = clientIp_example // kotlin.String |
val created : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val executionLogging : kotlin.Boolean = true // kotlin.Boolean |
val lastUpdated : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val model : kotlin.String = model_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 policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedEventMatcherPolicyList = apiInstance.policiesEventMatcherList(action, app, clientIp, created, executionLogging, lastUpdated, model, name, ordering, page, pageSize, policyUuid, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesEventMatcherList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesEventMatcherList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
action | kotlin.String | Match created events with this action type. When left empty, all action types will be matched. * `login` - Login * `login_failed` - Login Failed * `logout` - Logout * `user_write` - User Write * `suspicious_request` - Suspicious Request * `password_set` - Password Set * `secret_view` - Secret View * `secret_rotate` - Secret Rotate * `invitation_used` - Invite Used * `authorize_application` - Authorize Application * `source_linked` - Source Linked * `impersonation_started` - Impersonation Started * `impersonation_ended` - Impersonation Ended * `flow_execution` - Flow Execution * `policy_execution` - Policy Execution * `policy_exception` - Policy Exception * `property_mapping_exception` - Property Mapping Exception * `system_task_execution` - System Task Execution * `system_task_exception` - System Task Exception * `system_exception` - System Exception * `configuration_error` - Configuration Error * `model_created` - Model Created * `model_updated` - Model Updated * `model_deleted` - Model Deleted * `email_sent` - Email Sent * `update_available` - Update Available * `custom_` - Custom Prefix | [optional] [enum: authorize_application, configuration_error, custom_, email_sent, flow_execution, impersonation_ended, impersonation_started, invitation_used, login, login_failed, logout, model_created, model_deleted, model_updated, password_set, policy_exception, policy_execution, property_mapping_exception, secret_rotate, secret_view, source_linked, suspicious_request, system_exception, system_task_exception, system_task_execution, update_available, user_write] |
app | kotlin.String | [optional] | |
clientIp | kotlin.String | [optional] | |
created | java.time.OffsetDateTime | [optional] | |
executionLogging | kotlin.Boolean | [optional] | |
lastUpdated | java.time.OffsetDateTime | [optional] | |
model | 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] |
policyUuid | java.util.UUID | [optional] | |
search | kotlin.String | A search term. | [optional] |
PaginatedEventMatcherPolicyList
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
EventMatcherPolicy policiesEventMatcherPartialUpdate(policyUuid, patchedEventMatcherPolicyRequest)
Event Matcher Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event Matcher Policy.
val patchedEventMatcherPolicyRequest : PatchedEventMatcherPolicyRequest = // PatchedEventMatcherPolicyRequest |
try {
val result : EventMatcherPolicy = apiInstance.policiesEventMatcherPartialUpdate(policyUuid, patchedEventMatcherPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesEventMatcherPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesEventMatcherPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Event Matcher Policy. | |
patchedEventMatcherPolicyRequest | PatchedEventMatcherPolicyRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
EventMatcherPolicy policiesEventMatcherRetrieve(policyUuid)
Event Matcher Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event Matcher Policy.
try {
val result : EventMatcherPolicy = apiInstance.policiesEventMatcherRetrieve(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesEventMatcherRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesEventMatcherRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Event Matcher Policy. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
EventMatcherPolicy policiesEventMatcherUpdate(policyUuid, eventMatcherPolicyRequest)
Event Matcher Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event Matcher Policy.
val eventMatcherPolicyRequest : EventMatcherPolicyRequest = // EventMatcherPolicyRequest |
try {
val result : EventMatcherPolicy = apiInstance.policiesEventMatcherUpdate(policyUuid, eventMatcherPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesEventMatcherUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesEventMatcherUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Event Matcher Policy. | |
eventMatcherPolicyRequest | EventMatcherPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> policiesEventMatcherUsedByList(policyUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Event Matcher Policy.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesEventMatcherUsedByList(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesEventMatcherUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesEventMatcherUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Event Matcher Policy. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ExpressionPolicy policiesExpressionCreate(expressionPolicyRequest)
Source Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val expressionPolicyRequest : ExpressionPolicyRequest = // ExpressionPolicyRequest |
try {
val result : ExpressionPolicy = apiInstance.policiesExpressionCreate(expressionPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesExpressionCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesExpressionCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
expressionPolicyRequest | ExpressionPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
policiesExpressionDestroy(policyUuid)
Source Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Expression Policy.
try {
apiInstance.policiesExpressionDestroy(policyUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesExpressionDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesExpressionDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Expression Policy. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedExpressionPolicyList policiesExpressionList(created, executionLogging, expression, lastUpdated, name, ordering, page, pageSize, policyUuid, search)
Source Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val created : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val executionLogging : kotlin.Boolean = true // kotlin.Boolean |
val expression : kotlin.String = expression_example // kotlin.String |
val lastUpdated : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
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 policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedExpressionPolicyList = apiInstance.policiesExpressionList(created, executionLogging, expression, lastUpdated, name, ordering, page, pageSize, policyUuid, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesExpressionList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesExpressionList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
created | java.time.OffsetDateTime | [optional] | |
executionLogging | kotlin.Boolean | [optional] | |
expression | kotlin.String | [optional] | |
lastUpdated | java.time.OffsetDateTime | [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] |
policyUuid | java.util.UUID | [optional] | |
search | kotlin.String | A search term. | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ExpressionPolicy policiesExpressionPartialUpdate(policyUuid, patchedExpressionPolicyRequest)
Source Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Expression Policy.
val patchedExpressionPolicyRequest : PatchedExpressionPolicyRequest = // PatchedExpressionPolicyRequest |
try {
val result : ExpressionPolicy = apiInstance.policiesExpressionPartialUpdate(policyUuid, patchedExpressionPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesExpressionPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesExpressionPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Expression Policy. | |
patchedExpressionPolicyRequest | PatchedExpressionPolicyRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
ExpressionPolicy policiesExpressionRetrieve(policyUuid)
Source Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Expression Policy.
try {
val result : ExpressionPolicy = apiInstance.policiesExpressionRetrieve(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesExpressionRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesExpressionRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Expression Policy. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ExpressionPolicy policiesExpressionUpdate(policyUuid, expressionPolicyRequest)
Source Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Expression Policy.
val expressionPolicyRequest : ExpressionPolicyRequest = // ExpressionPolicyRequest |
try {
val result : ExpressionPolicy = apiInstance.policiesExpressionUpdate(policyUuid, expressionPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesExpressionUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesExpressionUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Expression Policy. | |
expressionPolicyRequest | ExpressionPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> policiesExpressionUsedByList(policyUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Expression Policy.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesExpressionUsedByList(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesExpressionUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesExpressionUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Expression Policy. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PasswordPolicy policiesPasswordCreate(passwordPolicyRequest)
Password Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val passwordPolicyRequest : PasswordPolicyRequest = // PasswordPolicyRequest |
try {
val result : PasswordPolicy = apiInstance.policiesPasswordCreate(passwordPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
passwordPolicyRequest | PasswordPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
policiesPasswordDestroy(policyUuid)
Password Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Policy.
try {
apiInstance.policiesPasswordDestroy(policyUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Policy. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PasswordExpiryPolicy policiesPasswordExpiryCreate(passwordExpiryPolicyRequest)
Password Expiry Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val passwordExpiryPolicyRequest : PasswordExpiryPolicyRequest = // PasswordExpiryPolicyRequest |
try {
val result : PasswordExpiryPolicy = apiInstance.policiesPasswordExpiryCreate(passwordExpiryPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordExpiryCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordExpiryCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
passwordExpiryPolicyRequest | PasswordExpiryPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
policiesPasswordExpiryDestroy(policyUuid)
Password Expiry Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Expiry Policy.
try {
apiInstance.policiesPasswordExpiryDestroy(policyUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordExpiryDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordExpiryDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Expiry Policy. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedPasswordExpiryPolicyList policiesPasswordExpiryList(created, days, denyOnly, executionLogging, lastUpdated, name, ordering, page, pageSize, policyUuid, search)
Password Expiry Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val created : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val days : kotlin.Int = 56 // kotlin.Int |
val denyOnly : kotlin.Boolean = true // kotlin.Boolean |
val executionLogging : kotlin.Boolean = true // kotlin.Boolean |
val lastUpdated : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
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 policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedPasswordExpiryPolicyList = apiInstance.policiesPasswordExpiryList(created, days, denyOnly, executionLogging, lastUpdated, name, ordering, page, pageSize, policyUuid, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordExpiryList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordExpiryList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
created | java.time.OffsetDateTime | [optional] | |
days | kotlin.Int | [optional] | |
denyOnly | kotlin.Boolean | [optional] | |
executionLogging | kotlin.Boolean | [optional] | |
lastUpdated | java.time.OffsetDateTime | [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] |
policyUuid | java.util.UUID | [optional] | |
search | kotlin.String | A search term. | [optional] |
PaginatedPasswordExpiryPolicyList
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PasswordExpiryPolicy policiesPasswordExpiryPartialUpdate(policyUuid, patchedPasswordExpiryPolicyRequest)
Password Expiry Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Expiry Policy.
val patchedPasswordExpiryPolicyRequest : PatchedPasswordExpiryPolicyRequest = // PatchedPasswordExpiryPolicyRequest |
try {
val result : PasswordExpiryPolicy = apiInstance.policiesPasswordExpiryPartialUpdate(policyUuid, patchedPasswordExpiryPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordExpiryPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordExpiryPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Expiry Policy. | |
patchedPasswordExpiryPolicyRequest | PatchedPasswordExpiryPolicyRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
PasswordExpiryPolicy policiesPasswordExpiryRetrieve(policyUuid)
Password Expiry Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Expiry Policy.
try {
val result : PasswordExpiryPolicy = apiInstance.policiesPasswordExpiryRetrieve(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordExpiryRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordExpiryRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Expiry Policy. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PasswordExpiryPolicy policiesPasswordExpiryUpdate(policyUuid, passwordExpiryPolicyRequest)
Password Expiry Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Expiry Policy.
val passwordExpiryPolicyRequest : PasswordExpiryPolicyRequest = // PasswordExpiryPolicyRequest |
try {
val result : PasswordExpiryPolicy = apiInstance.policiesPasswordExpiryUpdate(policyUuid, passwordExpiryPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordExpiryUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordExpiryUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Expiry Policy. | |
passwordExpiryPolicyRequest | PasswordExpiryPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> policiesPasswordExpiryUsedByList(policyUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Expiry Policy.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesPasswordExpiryUsedByList(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordExpiryUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordExpiryUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Expiry Policy. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedPasswordPolicyList policiesPasswordList(amountDigits, amountLowercase, amountSymbols, amountUppercase, checkHaveIBeenPwned, checkStaticRules, checkZxcvbn, created, errorMessage, executionLogging, hibpAllowedCount, lastUpdated, lengthMin, name, ordering, page, pageSize, passwordField, policyUuid, search, symbolCharset, zxcvbnScoreThreshold)
Password Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val amountDigits : kotlin.Int = 56 // kotlin.Int |
val amountLowercase : kotlin.Int = 56 // kotlin.Int |
val amountSymbols : kotlin.Int = 56 // kotlin.Int |
val amountUppercase : kotlin.Int = 56 // kotlin.Int |
val checkHaveIBeenPwned : kotlin.Boolean = true // kotlin.Boolean |
val checkStaticRules : kotlin.Boolean = true // kotlin.Boolean |
val checkZxcvbn : kotlin.Boolean = true // kotlin.Boolean |
val created : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val errorMessage : kotlin.String = errorMessage_example // kotlin.String |
val executionLogging : kotlin.Boolean = true // kotlin.Boolean |
val hibpAllowedCount : kotlin.Int = 56 // kotlin.Int |
val lastUpdated : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val lengthMin : kotlin.Int = 56 // kotlin.Int |
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 passwordField : kotlin.String = passwordField_example // kotlin.String |
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val search : kotlin.String = search_example // kotlin.String | A search term.
val symbolCharset : kotlin.String = symbolCharset_example // kotlin.String |
val zxcvbnScoreThreshold : kotlin.Int = 56 // kotlin.Int |
try {
val result : PaginatedPasswordPolicyList = apiInstance.policiesPasswordList(amountDigits, amountLowercase, amountSymbols, amountUppercase, checkHaveIBeenPwned, checkStaticRules, checkZxcvbn, created, errorMessage, executionLogging, hibpAllowedCount, lastUpdated, lengthMin, name, ordering, page, pageSize, passwordField, policyUuid, search, symbolCharset, zxcvbnScoreThreshold)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
amountDigits | kotlin.Int | [optional] | |
amountLowercase | kotlin.Int | [optional] | |
amountSymbols | kotlin.Int | [optional] | |
amountUppercase | kotlin.Int | [optional] | |
checkHaveIBeenPwned | kotlin.Boolean | [optional] | |
checkStaticRules | kotlin.Boolean | [optional] | |
checkZxcvbn | kotlin.Boolean | [optional] | |
created | java.time.OffsetDateTime | [optional] | |
errorMessage | kotlin.String | [optional] | |
executionLogging | kotlin.Boolean | [optional] | |
hibpAllowedCount | kotlin.Int | [optional] | |
lastUpdated | java.time.OffsetDateTime | [optional] | |
lengthMin | kotlin.Int | [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] |
passwordField | kotlin.String | [optional] | |
policyUuid | java.util.UUID | [optional] | |
search | kotlin.String | A search term. | [optional] |
symbolCharset | kotlin.String | [optional] | |
zxcvbnScoreThreshold | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PasswordPolicy policiesPasswordPartialUpdate(policyUuid, patchedPasswordPolicyRequest)
Password Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Policy.
val patchedPasswordPolicyRequest : PatchedPasswordPolicyRequest = // PatchedPasswordPolicyRequest |
try {
val result : PasswordPolicy = apiInstance.policiesPasswordPartialUpdate(policyUuid, patchedPasswordPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Policy. | |
patchedPasswordPolicyRequest | PatchedPasswordPolicyRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
PasswordPolicy policiesPasswordRetrieve(policyUuid)
Password Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Policy.
try {
val result : PasswordPolicy = apiInstance.policiesPasswordRetrieve(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Policy. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PasswordPolicy policiesPasswordUpdate(policyUuid, passwordPolicyRequest)
Password Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Policy.
val passwordPolicyRequest : PasswordPolicyRequest = // PasswordPolicyRequest |
try {
val result : PasswordPolicy = apiInstance.policiesPasswordUpdate(policyUuid, passwordPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Policy. | |
passwordPolicyRequest | PasswordPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> policiesPasswordUsedByList(policyUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Password Policy.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesPasswordUsedByList(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesPasswordUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesPasswordUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Password Policy. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ReputationPolicy policiesReputationCreate(reputationPolicyRequest)
Reputation Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val reputationPolicyRequest : ReputationPolicyRequest = // ReputationPolicyRequest |
try {
val result : ReputationPolicy = apiInstance.policiesReputationCreate(reputationPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
reputationPolicyRequest | ReputationPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
policiesReputationDestroy(policyUuid)
Reputation Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Policy.
try {
apiInstance.policiesReputationDestroy(policyUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Reputation Policy. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedReputationPolicyList policiesReputationList(checkIp, checkUsername, created, executionLogging, lastUpdated, name, ordering, page, pageSize, policyUuid, search, threshold)
Reputation Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val checkIp : kotlin.Boolean = true // kotlin.Boolean |
val checkUsername : kotlin.Boolean = true // kotlin.Boolean |
val created : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
val executionLogging : kotlin.Boolean = true // kotlin.Boolean |
val lastUpdated : java.time.OffsetDateTime = 2013-10-20T19:20:30+01:00 // java.time.OffsetDateTime |
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 policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val search : kotlin.String = search_example // kotlin.String | A search term.
val threshold : kotlin.Int = 56 // kotlin.Int |
try {
val result : PaginatedReputationPolicyList = apiInstance.policiesReputationList(checkIp, checkUsername, created, executionLogging, lastUpdated, name, ordering, page, pageSize, policyUuid, search, threshold)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
checkIp | kotlin.Boolean | [optional] | |
checkUsername | kotlin.Boolean | [optional] | |
created | java.time.OffsetDateTime | [optional] | |
executionLogging | kotlin.Boolean | [optional] | |
lastUpdated | java.time.OffsetDateTime | [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] |
policyUuid | java.util.UUID | [optional] | |
search | kotlin.String | A search term. | [optional] |
threshold | kotlin.Int | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ReputationPolicy policiesReputationPartialUpdate(policyUuid, patchedReputationPolicyRequest)
Reputation Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Policy.
val patchedReputationPolicyRequest : PatchedReputationPolicyRequest = // PatchedReputationPolicyRequest |
try {
val result : ReputationPolicy = apiInstance.policiesReputationPartialUpdate(policyUuid, patchedReputationPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Reputation Policy. | |
patchedReputationPolicyRequest | PatchedReputationPolicyRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
ReputationPolicy policiesReputationRetrieve(policyUuid)
Reputation Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Policy.
try {
val result : ReputationPolicy = apiInstance.policiesReputationRetrieve(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Reputation Policy. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
policiesReputationScoresDestroy(reputationUuid)
Reputation Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val reputationUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Score.
try {
apiInstance.policiesReputationScoresDestroy(reputationUuid)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationScoresDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationScoresDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
reputationUuid | java.util.UUID | A UUID string identifying this Reputation Score. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedReputationList policiesReputationScoresList(identifier, ip, ordering, page, pageSize, score, search)
Reputation Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val identifier : kotlin.String = identifier_example // kotlin.String |
val ip : kotlin.String = ip_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 score : kotlin.Int = 56 // kotlin.Int |
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedReputationList = apiInstance.policiesReputationScoresList(identifier, ip, ordering, page, pageSize, score, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationScoresList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationScoresList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
identifier | kotlin.String | [optional] | |
ip | 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] |
score | kotlin.Int | [optional] | |
search | kotlin.String | A search term. | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Reputation policiesReputationScoresRetrieve(reputationUuid)
Reputation Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val reputationUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Score.
try {
val result : Reputation = apiInstance.policiesReputationScoresRetrieve(reputationUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationScoresRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationScoresRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
reputationUuid | java.util.UUID | A UUID string identifying this Reputation Score. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
kotlin.collections.List<UsedBy> policiesReputationScoresUsedByList(reputationUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val reputationUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Score.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesReputationScoresUsedByList(reputationUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationScoresUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationScoresUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
reputationUuid | java.util.UUID | A UUID string identifying this Reputation Score. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ReputationPolicy policiesReputationUpdate(policyUuid, reputationPolicyRequest)
Reputation Policy Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Policy.
val reputationPolicyRequest : ReputationPolicyRequest = // ReputationPolicyRequest |
try {
val result : ReputationPolicy = apiInstance.policiesReputationUpdate(policyUuid, reputationPolicyRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Reputation Policy. | |
reputationPolicyRequest | ReputationPolicyRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> policiesReputationUsedByList(policyUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = PoliciesApi()
val policyUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Reputation Policy.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.policiesReputationUsedByList(policyUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling PoliciesApi#policiesReputationUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PoliciesApi#policiesReputationUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
policyUuid | java.util.UUID | A UUID string identifying this Reputation Policy. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json