All URIs are relative to http://localhost/api/v3
Method | HTTP request | Description |
---|---|---|
tenantsDomainsCreate | POST /tenants/domains/ | |
tenantsDomainsDestroy | DELETE /tenants/domains/{id}/ | |
tenantsDomainsList | GET /tenants/domains/ | |
tenantsDomainsPartialUpdate | PATCH /tenants/domains/{id}/ | |
tenantsDomainsRetrieve | GET /tenants/domains/{id}/ | |
tenantsDomainsUpdate | PUT /tenants/domains/{id}/ | |
tenantsTenantsCreate | POST /tenants/tenants/ | |
tenantsTenantsCreateAdminGroupCreate | POST /tenants/tenants/{tenant_uuid}/create_admin_group/ | |
tenantsTenantsCreateRecoveryKeyCreate | POST /tenants/tenants/{tenant_uuid}/create_recovery_key/ | |
tenantsTenantsDestroy | DELETE /tenants/tenants/{tenant_uuid}/ | |
tenantsTenantsList | GET /tenants/tenants/ | |
tenantsTenantsPartialUpdate | PATCH /tenants/tenants/{tenant_uuid}/ | |
tenantsTenantsRetrieve | GET /tenants/tenants/{tenant_uuid}/ | |
tenantsTenantsUpdate | PUT /tenants/tenants/{tenant_uuid}/ |
Domain tenantsDomainsCreate(domainRequest)
Domain ViewSet
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val domainRequest : DomainRequest = // DomainRequest |
try {
val result : Domain = apiInstance.tenantsDomainsCreate(domainRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsDomainsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsDomainsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
domainRequest | DomainRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
tenantsDomainsDestroy(id)
Domain ViewSet
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Domain.
try {
apiInstance.tenantsDomainsDestroy(id)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsDomainsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsDomainsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Domain. |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
PaginatedDomainList tenantsDomainsList(ordering, page, pageSize, search)
Domain ViewSet
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedDomainList = apiInstance.tenantsDomainsList(ordering, page, pageSize, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsDomainsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsDomainsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
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] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Domain tenantsDomainsPartialUpdate(id, patchedDomainRequest)
Domain ViewSet
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Domain.
val patchedDomainRequest : PatchedDomainRequest = // PatchedDomainRequest |
try {
val result : Domain = apiInstance.tenantsDomainsPartialUpdate(id, patchedDomainRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsDomainsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsDomainsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Domain. | |
patchedDomainRequest | PatchedDomainRequest | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Domain tenantsDomainsRetrieve(id)
Domain ViewSet
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Domain.
try {
val result : Domain = apiInstance.tenantsDomainsRetrieve(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsDomainsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsDomainsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Domain. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Domain tenantsDomainsUpdate(id, domainRequest)
Domain ViewSet
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val id : kotlin.Int = 56 // kotlin.Int | A unique integer value identifying this Domain.
val domainRequest : DomainRequest = // DomainRequest |
try {
val result : Domain = apiInstance.tenantsDomainsUpdate(id, domainRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsDomainsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsDomainsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
id | kotlin.Int | A unique integer value identifying this Domain. | |
domainRequest | DomainRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
Tenant tenantsTenantsCreate(tenantRequest)
Tenant Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val tenantRequest : TenantRequest = // TenantRequest |
try {
val result : Tenant = apiInstance.tenantsTenantsCreate(tenantRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tenantRequest | TenantRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
tenantsTenantsCreateAdminGroupCreate(tenantUuid, tenantAdminGroupRequestRequest)
Create admin group and add user to it.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val tenantUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Tenant.
val tenantAdminGroupRequestRequest : TenantAdminGroupRequestRequest = // TenantAdminGroupRequestRequest |
try {
apiInstance.tenantsTenantsCreateAdminGroupCreate(tenantUuid, tenantAdminGroupRequestRequest)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsCreateAdminGroupCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsCreateAdminGroupCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tenantUuid | java.util.UUID | A UUID string identifying this Tenant. | |
tenantAdminGroupRequestRequest | TenantAdminGroupRequestRequest |
null (empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
TenantRecoveryKeyResponse tenantsTenantsCreateRecoveryKeyCreate(tenantUuid, tenantRecoveryKeyRequestRequest)
Create recovery key for user.
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val tenantUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Tenant.
val tenantRecoveryKeyRequestRequest : TenantRecoveryKeyRequestRequest = // TenantRecoveryKeyRequestRequest |
try {
val result : TenantRecoveryKeyResponse = apiInstance.tenantsTenantsCreateRecoveryKeyCreate(tenantUuid, tenantRecoveryKeyRequestRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsCreateRecoveryKeyCreate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsCreateRecoveryKeyCreate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tenantUuid | java.util.UUID | A UUID string identifying this Tenant. | |
tenantRecoveryKeyRequestRequest | TenantRecoveryKeyRequestRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json
tenantsTenantsDestroy(tenantUuid)
Tenant Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val tenantUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Tenant.
try {
apiInstance.tenantsTenantsDestroy(tenantUuid)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsDestroy")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsDestroy")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tenantUuid | java.util.UUID | A UUID string identifying this Tenant. |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: application/json
PaginatedTenantList tenantsTenantsList(ordering, page, pageSize, search)
Tenant Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val ordering : kotlin.String = ordering_example // kotlin.String | Which field to use when ordering the results.
val page : kotlin.Int = 56 // kotlin.Int | A page number within the paginated result set.
val pageSize : kotlin.Int = 56 // kotlin.Int | Number of results to return per page.
val search : kotlin.String = search_example // kotlin.String | A search term.
try {
val result : PaginatedTenantList = apiInstance.tenantsTenantsList(ordering, page, pageSize, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsList")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsList")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
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] |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Tenant tenantsTenantsPartialUpdate(tenantUuid, patchedTenantRequest)
Tenant Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val tenantUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Tenant.
val patchedTenantRequest : PatchedTenantRequest = // PatchedTenantRequest |
try {
val result : Tenant = apiInstance.tenantsTenantsPartialUpdate(tenantUuid, patchedTenantRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsPartialUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsPartialUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tenantUuid | java.util.UUID | A UUID string identifying this Tenant. | |
patchedTenantRequest | PatchedTenantRequest | [optional] |
No authorization required
- Content-Type: application/json
- Accept: application/json
Tenant tenantsTenantsRetrieve(tenantUuid)
Tenant Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val tenantUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Tenant.
try {
val result : Tenant = apiInstance.tenantsTenantsRetrieve(tenantUuid)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsRetrieve")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsRetrieve")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tenantUuid | java.util.UUID | A UUID string identifying this Tenant. |
No authorization required
- Content-Type: Not defined
- Accept: application/json
Tenant tenantsTenantsUpdate(tenantUuid, tenantRequest)
Tenant Viewset
// Import classes:
//import io.goauthentik.api.infrastructure.*
//import io.goauthentik.api.models.*
val apiInstance = TenantsApi()
val tenantUuid : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID | A UUID string identifying this Tenant.
val tenantRequest : TenantRequest = // TenantRequest |
try {
val result : Tenant = apiInstance.tenantsTenantsUpdate(tenantUuid, tenantRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling TenantsApi#tenantsTenantsUpdate")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling TenantsApi#tenantsTenantsUpdate")
e.printStackTrace()
}
Name | Type | Description | Notes |
---|---|---|---|
tenantUuid | java.util.UUID | A UUID string identifying this Tenant. | |
tenantRequest | TenantRequest |
No authorization required
- Content-Type: application/json
- Accept: application/json