All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
flowsBindingsCreate | POST /flows/bindings/ | |
flowsBindingsDestroy | DELETE /flows/bindings/{fsb_uuid}/ | |
flowsBindingsList | GET /flows/bindings/ | |
flowsBindingsPartialUpdate | PATCH /flows/bindings/{fsb_uuid}/ | |
flowsBindingsRetrieve | GET /flows/bindings/{fsb_uuid}/ | |
flowsBindingsUpdate | PUT /flows/bindings/{fsb_uuid}/ | |
flowsBindingsUsedByList | GET /flows/bindings/{fsb_uuid}/used_by/ | |
flowsExecutorGet | GET /flows/executor/{flow_slug}/ | |
flowsExecutorSolve | POST /flows/executor/{flow_slug}/ | |
flowsInspectorGet | GET /flows/inspector/{flow_slug}/ | |
flowsInstancesCacheClearCreate | POST /flows/instances/cache_clear/ | |
flowsInstancesCacheInfoRetrieve | GET /flows/instances/cache_info/ | |
flowsInstancesCreate | POST /flows/instances/ | |
flowsInstancesDestroy | DELETE /flows/instances/{slug}/ | |
flowsInstancesDiagramRetrieve | GET /flows/instances/{slug}/diagram/ | |
flowsInstancesExecuteRetrieve | GET /flows/instances/{slug}/execute/ | |
flowsInstancesExportRetrieve | GET /flows/instances/{slug}/export/ | |
flowsInstancesImportCreate | POST /flows/instances/import/ | |
flowsInstancesList | GET /flows/instances/ | |
flowsInstancesPartialUpdate | PATCH /flows/instances/{slug}/ | |
flowsInstancesRetrieve | GET /flows/instances/{slug}/ | |
flowsInstancesSetBackgroundCreate | POST /flows/instances/{slug}/set_background/ | |
flowsInstancesSetBackgroundUrlCreate | POST /flows/instances/{slug}/set_background_url/ | |
flowsInstancesUpdate | PUT /flows/instances/{slug}/ | |
flowsInstancesUsedByList | GET /flows/instances/{slug}/used_by/ |
FlowStageBinding flowsBindingsCreate(flowStageBindingRequest)
FlowStageBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val flowStageBindingRequest : FlowStageBindingRequest = // FlowStageBindingRequest |
try {
val result : FlowStageBinding = apiInstance.flowsBindingsCreate(flowStageBindingRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsBindingsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsBindingsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
flowStageBindingRequest | FlowStageBindingRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
flowsBindingsDestroy(fsbUuid)
FlowStageBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val fsbUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Flow Stage Binding.
try {
apiInstance.flowsBindingsDestroy(fsbUuid)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsBindingsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsBindingsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
fsbUuid | java.util.UUID | A UUID string identifying this Flow Stage Binding. |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
PaginatedFlowStageBindingList flowsBindingsList(evaluateOnPlan, fsbUuid, invalidResponseAction, order, ordering, page, pageSize, pbmUuid, policies, policyEngineMode, reEvaluatePolicies, search, stage, target)
FlowStageBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val evaluateOnPlan : kotlin.Boolean = true // kotlin.Boolean |
val fsbUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val invalidResponseAction : kotlin.String = invalidResponseAction_example // kotlin.String | Configure how the flow executor should handle an invalid response to a challenge. RETRY returns the error message and a similar challenge to the executor. RESTART restarts the flow from the beginning, and RESTART_WITH_CONTEXT restarts the flow while keeping the current context. * `retry` - Retry * `restart` - Restart * `restart_with_context` - Restart With Context
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 pbmUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val policies : kotlin.collections.List<java.util.UUID> = // kotlin.collections.List<java.util.UUID> |
val policyEngineMode : kotlin.String = policyEngineMode_example // kotlin.String | * `all` - all, all policies must pass * `any` - any, any policy must pass
val reEvaluatePolicies : kotlin.Boolean = true // kotlin.Boolean |
val search : kotlin.String = search_example // kotlin.String | A search term.
val stage : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val target : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
try {
val result : PaginatedFlowStageBindingList = apiInstance.flowsBindingsList(evaluateOnPlan, fsbUuid, invalidResponseAction, order, ordering, page, pageSize, pbmUuid, policies, policyEngineMode, reEvaluatePolicies, search, stage, target)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsBindingsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsBindingsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
evaluateOnPlan | kotlin.Boolean | [optional] | |
fsbUuid | java.util.UUID | [optional] | |
invalidResponseAction | kotlin.String | Configure how the flow executor should handle an invalid response to a challenge. RETRY returns the error message and a similar challenge to the executor. RESTART restarts the flow from the beginning, and RESTART_WITH_CONTEXT restarts the flow while keeping the current context. * `retry` - Retry * `restart` - Restart * `restart_with_context` - Restart With Context | [optional] [enum: restart, restart_with_context, retry] |
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] |
pbmUuid | java.util.UUID | [optional] | |
policies | kotlin.collections.List<java.util.UUID> | [optional] | |
policyEngineMode | kotlin.String | * `all` - all, all policies must pass * `any` - any, any policy must pass | [optional] [enum: all, any] |
reEvaluatePolicies | kotlin.Boolean | [optional] | |
search | kotlin.String | A search term. | [optional] |
stage | java.util.UUID | [optional] | |
target | java.util.UUID | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
FlowStageBinding flowsBindingsPartialUpdate(fsbUuid, patchedFlowStageBindingRequest)
FlowStageBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val fsbUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Flow Stage Binding.
val patchedFlowStageBindingRequest : PatchedFlowStageBindingRequest = // PatchedFlowStageBindingRequest |
try {
val result : FlowStageBinding = apiInstance.flowsBindingsPartialUpdate(fsbUuid, patchedFlowStageBindingRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsBindingsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsBindingsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
fsbUuid | java.util.UUID | A UUID string identifying this Flow Stage Binding. | |
patchedFlowStageBindingRequest | PatchedFlowStageBindingRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
FlowStageBinding flowsBindingsRetrieve(fsbUuid)
FlowStageBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val fsbUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Flow Stage Binding.
try {
val result : FlowStageBinding = apiInstance.flowsBindingsRetrieve(fsbUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsBindingsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsBindingsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
fsbUuid | java.util.UUID | A UUID string identifying this Flow Stage Binding. |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
FlowStageBinding flowsBindingsUpdate(fsbUuid, flowStageBindingRequest)
FlowStageBinding Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val fsbUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Flow Stage Binding.
val flowStageBindingRequest : FlowStageBindingRequest = // FlowStageBindingRequest |
try {
val result : FlowStageBinding = apiInstance.flowsBindingsUpdate(fsbUuid, flowStageBindingRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsBindingsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsBindingsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
fsbUuid | java.util.UUID | A UUID string identifying this Flow Stage Binding. | |
flowStageBindingRequest | FlowStageBindingRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> flowsBindingsUsedByList(fsbUuid)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val fsbUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Flow Stage Binding.
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.flowsBindingsUsedByList(fsbUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsBindingsUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsBindingsUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
fsbUuid | java.util.UUID | A UUID string identifying this Flow Stage Binding. |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ChallengeTypes flowsExecutorGet(flowSlug, query)
Get the next pending challenge from the currently active flow.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val flowSlug : kotlin.String = flowSlug_example // kotlin.String |
val query : kotlin.String = query_example // kotlin.String | Querystring as received
try {
val result : ChallengeTypes = apiInstance.flowsExecutorGet(flowSlug, query)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsExecutorGet")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsExecutorGet")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
flowSlug | kotlin.String | ||
query | kotlin.String | Querystring as received |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
ChallengeTypes flowsExecutorSolve(flowSlug, query, flowChallengeResponseRequest)
Solve the previously retrieved challenge and advanced to the next stage.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val flowSlug : kotlin.String = flowSlug_example // kotlin.String |
val query : kotlin.String = query_example // kotlin.String | Querystring as received
val flowChallengeResponseRequest : FlowChallengeResponseRequest = // FlowChallengeResponseRequest |
try {
val result : ChallengeTypes = apiInstance.flowsExecutorSolve(flowSlug, query, flowChallengeResponseRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsExecutorSolve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsExecutorSolve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
flowSlug | kotlin.String | ||
query | kotlin.String | Querystring as received | |
flowChallengeResponseRequest | FlowChallengeResponseRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
FlowInspection flowsInspectorGet(flowSlug)
Get current flow state and record it
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val flowSlug : kotlin.String = flowSlug_example // kotlin.String |
try {
val result : FlowInspection = apiInstance.flowsInspectorGet(flowSlug)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInspectorGet")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInspectorGet")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
flowSlug | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
flowsInstancesCacheClearCreate()
Clear flow cache
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
try {
apiInstance.flowsInstancesCacheClearCreate()
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesCacheClearCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesCacheClearCreate")
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 flowsInstancesCacheInfoRetrieve()
Info about cached flows
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
try {
val result : Cache = apiInstance.flowsInstancesCacheInfoRetrieve()
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesCacheInfoRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesCacheInfoRetrieve")
e.printStackTrace()
}
This endpoint does not need any parameter.
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Flow flowsInstancesCreate(flowRequest)
Flow Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val flowRequest : FlowRequest = // FlowRequest |
try {
val result : Flow = apiInstance.flowsInstancesCreate(flowRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
flowRequest | FlowRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
flowsInstancesDestroy(slug)
Flow Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
apiInstance.flowsInstancesDestroy(slug)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
FlowDiagram flowsInstancesDiagramRetrieve(slug)
Return diagram for flow with slug `slug`, in the format used by flowchart.js
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : FlowDiagram = apiInstance.flowsInstancesDiagramRetrieve(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesDiagramRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesDiagramRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Link flowsInstancesExecuteRetrieve(slug)
Execute flow for current user
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : Link = apiInstance.flowsInstancesExecuteRetrieve(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesExecuteRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesExecuteRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
java.io.File flowsInstancesExportRetrieve(slug)
Export flow to .yaml file
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : java.io.File = apiInstance.flowsInstancesExportRetrieve(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesExportRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesExportRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
FlowImportResult flowsInstancesImportCreate(file, clear)
Import flow from .yaml file
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val file : java.io.File = BINARY_DATA_HERE // java.io.File |
val clear : kotlin.Boolean = true // kotlin.Boolean |
try {
val result : FlowImportResult = apiInstance.flowsInstancesImportCreate(file, clear)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesImportCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesImportCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
file | java.io.File | [optional] | |
clear | kotlin.Boolean | [optional] [default to false] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: multipart/form-data
- Accept: application/json
PaginatedFlowList flowsInstancesList(deniedAction, designation, flowUuid, name, ordering, page, pageSize, search, slug)
Flow Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val deniedAction : kotlin.String = deniedAction_example // kotlin.String | Configure what should happen when a flow denies access to a user. * `message_continue` - Message Continue * `message` - Message * `continue` - Continue
val designation : kotlin.String = designation_example // kotlin.String | Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik. * `authentication` - Authentication * `authorization` - Authorization * `invalidation` - Invalidation * `enrollment` - Enrollment * `unenrollment` - Unrenollment * `recovery` - Recovery * `stage_configuration` - Stage Configuration
val flowUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val name : kotlin.String = name_example // kotlin.String |
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : PaginatedFlowList = apiInstance.flowsInstancesList(deniedAction, designation, flowUuid, name, ordering, page, pageSize, search, slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
deniedAction | kotlin.String | Configure what should happen when a flow denies access to a user. * `message_continue` - Message Continue * `message` - Message * `continue` - Continue | [optional] [enum: continue, message, message_continue] |
designation | kotlin.String | Decides what this Flow is used for. For example, the Authentication flow is redirect to when an un-authenticated user visits authentik. * `authentication` - Authentication * `authorization` - Authorization * `invalidation` - Invalidation * `enrollment` - Enrollment * `unenrollment` - Unrenollment * `recovery` - Recovery * `stage_configuration` - Stage Configuration | [optional] [enum: authentication, authorization, enrollment, invalidation, recovery, stage_configuration, unenrollment] |
flowUuid | java.util.UUID | [optional] | |
name | kotlin.String | [optional] | |
ordering | kotlin.String | Which field to use when ordering the results. | [optional] |
page | kotlin.Int | A page number within the paginated result set. | [optional] |
pageSize | kotlin.Int | Number of results to return per page. | [optional] |
search | kotlin.String | A search term. | [optional] |
slug | kotlin.String | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
Flow flowsInstancesPartialUpdate(slug, patchedFlowRequest)
Flow Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
val patchedFlowRequest : PatchedFlowRequest = // PatchedFlowRequest |
try {
val result : Flow = apiInstance.flowsInstancesPartialUpdate(slug, patchedFlowRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
patchedFlowRequest | PatchedFlowRequest | [optional] |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Flow flowsInstancesRetrieve(slug)
Flow Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : Flow = apiInstance.flowsInstancesRetrieve(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json
flowsInstancesSetBackgroundCreate(slug, file, clear)
Set Flow background
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
val file : java.io.File = BINARY_DATA_HERE // java.io.File |
val clear : kotlin.Boolean = true // kotlin.Boolean |
try {
apiInstance.flowsInstancesSetBackgroundCreate(slug, file, clear)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesSetBackgroundCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesSetBackgroundCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
file | java.io.File | [optional] | |
clear | kotlin.Boolean | [optional] [default to false] |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: multipart/form-data
- Accept: application/json
flowsInstancesSetBackgroundUrlCreate(slug, filePathRequest)
Set Flow background (as URL)
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
val filePathRequest : FilePathRequest = // FilePathRequest |
try {
apiInstance.flowsInstancesSetBackgroundUrlCreate(slug, filePathRequest)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesSetBackgroundUrlCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesSetBackgroundUrlCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
filePathRequest | FilePathRequest |
null (empty response body)
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
Flow flowsInstancesUpdate(slug, flowRequest)
Flow Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
val flowRequest : FlowRequest = // FlowRequest |
try {
val result : Flow = apiInstance.flowsInstancesUpdate(slug, flowRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String | ||
flowRequest | FlowRequest |
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: application/json
- Accept: application/json
kotlin.collections.List<UsedBy> flowsInstancesUsedByList(slug)
Get a list of all objects that use this object
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = FlowsApi()
val slug : kotlin.String = slug_example // kotlin.String |
try {
val result : kotlin.collections.List<UsedBy> = apiInstance.flowsInstancesUsedByList(slug)
println(result)
} catch (e: ClientException) {
println("4xx response calling FlowsApi#flowsInstancesUsedByList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling FlowsApi#flowsInstancesUsedByList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
slug | kotlin.String |
kotlin.collections.List<UsedBy>
Configure authentik: ApiClient.apiKey["Authorization"] = "" ApiClient.apiKeyPrefix["Authorization"] = ""
- Content-Type: Not defined
- Accept: application/json