Coroutine-native client covering the full Hanzo /v1 cloud surface, for JVM and Android. Generated with openapi-generator kotlin (library=jvm-okhttp4, useCoroutines=true). Coordinate: ai.hanzo:sdk. Base URL: https://api.hanzo.ai. Co-authored-by: Hanzo Dev <[email protected]>
86 KiB
UsersApi
All URIs are relative to https://api.hanzo.ai
| Method | HTTP request | Description |
|---|---|---|
| analyticsCreateUser | POST /v1/analytics/users | Create a new user (admin only) |
| analyticsDeleteUser | DELETE /v1/analytics/users/{userId} | Delete user (admin only) |
| analyticsGetUser | GET /v1/analytics/users/{userId} | Get user by ID |
| analyticsGetUserTeams | GET /v1/analytics/users/{userId}/teams | List teams a user belongs to |
| analyticsGetUserUsage | GET /v1/analytics/users/{userId}/usage | Get event usage breakdown for a user (admin only) |
| analyticsGetUserWebsites | GET /v1/analytics/users/{userId}/websites | List websites owned by a user |
| analyticsUpdateUser | POST /v1/analytics/users/{userId} | Update user |
| autoListUsers | GET /v1/auto/users | List platform users |
| botGetUser | GET /v1/bot/users/{handle} | Get user profile by handle |
| botListUserSkills | GET /v1/bot/users/{handle}/skills | List skills published by a user |
| botListUserStars | GET /v1/bot/users/{handle}/stars | List skills starred by a user |
| botUpdateProfile | PATCH /v1/bot/users/me | Update current user's profile |
| commerceCreateUser | POST /v1/commerce/user | Create user |
| commerceCreateWalletAccount | POST /v1/commerce/user/{userid}/wallet/account | Create wallet account |
| commerceDeleteUser | DELETE /v1/commerce/user/{userid} | Delete user |
| commerceGetUser | GET /v1/commerce/user/{userid} | Get user |
| commerceGetUserOrders | GET /v1/commerce/user/{userid}/orders | Get user orders |
| commerceGetUserPaymentMethods | GET /v1/commerce/user/{userid}/paymentmethods | Get user payment methods |
| commerceGetUserReferrals | GET /v1/commerce/user/{userid}/referrals | Get user referrals |
| commerceGetUserReferrers | GET /v1/commerce/user/{userid}/referrers | Get user referrers |
| commerceGetUserTransactions | GET /v1/commerce/user/{userid}/transactions | Get user transactions |
| commerceGetUserWallet | GET /v1/commerce/user/{userid}/wallet | Get user wallet |
| commerceGetWalletAccount | GET /v1/commerce/user/{userid}/wallet/account/{name} | Get wallet account |
| commerceListUsers | GET /v1/commerce/user | List users |
| commercePatchUser | PATCH /v1/commerce/user/{userid} | Partially update user |
| commerceResetUserPassword | GET /v1/commerce/user/{userid}/password/reset | Reset user password (admin) |
| commerceUpdateUser | PUT /v1/commerce/user/{userid} | Update user |
| commerceWalletPay | POST /v1/commerce/user/{userid}/wallet/pay | Send payment from wallet |
| flowGetUser | GET /v1/flow/users/{id} | Get user by id |
| flowListUsers | GET /v1/flow/users | List platform users |
| iamApiControllerAddLdap | POST /v1/iam/ldaps | Api Controller Add Ldap |
| iamApiControllerAddUser | POST /v1/iam/users | Api Controller Add User |
| iamApiControllerAddUserKeys | POST /v1/iam/user-keys | Api Controller Add User Keys |
| iamApiControllerCheckUserPassword | POST /v1/iam/auth/check-password | Api Controller Check User Password |
| iamApiControllerDeleteLdap | DELETE /v1/iam/ldaps/{id} | Api Controller Delete Ldap |
| iamApiControllerDeleteUser | DELETE /v1/iam/users/{id} | Api Controller Delete User |
| iamApiControllerExitImpersonateUser | POST /v1/iam/impersonation/exit | Api Controller Exit Impersonate User |
| iamApiControllerGetAccount | GET /v1/iam/accounts/{id} | Api Controller Get Account |
| iamApiControllerGetEmailAndPhone | GET /v1/iam/auth/contact | Api Controller Get Email And Phone |
| iamApiControllerGetGlobalUsers | GET /v1/iam/global-users | Api Controller Get Global Users |
| iamApiControllerGetLdap | GET /v1/iam/ldaps/{id} | Api Controller Get Ldap |
| iamApiControllerGetLdaps | GET /v1/iam/ldaps | Api Controller Get Ldaps |
| iamApiControllerGetLdapser | GET /v1/iam/ldap-users | Api Controller Get Ldapser |
| iamApiControllerGetSortedUsers | GET /v1/iam/sorted-users | Api Controller Get Sorted Users |
| iamApiControllerGetUser | GET /v1/iam/users/{id} | Api Controller Get User |
| iamApiControllerGetUserCount | GET /v1/iam/user-counts/{id} | Api Controller Get User Count |
| iamApiControllerGetUsers | GET /v1/iam/users | Api Controller Get Users |
| iamApiControllerImpersonateUser | POST /v1/iam/impersonation-user | Api Controller Impersonate User |
| iamApiControllerResetEmailOrPhone | POST /v1/iam/auth/reset-contact | Api Controller Reset Email Or Phone |
| iamApiControllerSetPassword | POST /v1/iam/auth/set-password | Api Controller Set Password |
| iamApiControllerSyncLdapUsers | POST /v1/iam/ldap/sync | Api Controller Sync Ldap Users |
| iamApiControllerUpdateLdap | PUT /v1/iam/ldaps/{id} | Api Controller Update Ldap |
| iamApiControllerUpdateUser | PUT /v1/iam/users/{id} | Api Controller Update User |
| iamApiControllerUserInfo | GET /oauth/userinfo | Api Controller User Info |
| iamApiControllerUserInfo2 | GET /v1/iam/user | Api Controller User Info2 |
| iamApiControllerVerifyIdentification | POST /v1/iam/auth/identification/verify | Api Controller Verify Identification |
| iamApiControllerWebAuthnSignupBegin | GET /v1/iam/auth/webauthn/signup/begin | Api Controller Web Authn Signup Begin |
| iamApiControllerWebAuthnSignupFinish | POST /v1/iam/auth/webauthn/signup/finish | Api Controller Web Authn Signup Finish |
| kmsGetCurrentUser | GET /v1/kms/user | Get the current authenticated user |
analyticsCreateUser
AnalyticsUser analyticsCreateUser(analyticsCreateUserRequest)
Create a new user (admin only)
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val analyticsCreateUserRequest : AnalyticsCreateUserRequest = // AnalyticsCreateUserRequest |
try {
val result : AnalyticsUser = apiInstance.analyticsCreateUser(analyticsCreateUserRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#analyticsCreateUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#analyticsCreateUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| analyticsCreateUserRequest | AnalyticsCreateUserRequest |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
analyticsDeleteUser
kotlin.Any analyticsDeleteUser(userId)
Delete user (admin only)
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userId : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
try {
val result : kotlin.Any = apiInstance.analyticsDeleteUser(userId)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#analyticsDeleteUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#analyticsDeleteUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userId | java.util.UUID |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
analyticsGetUser
AnalyticsUser analyticsGetUser(userId)
Get user by ID
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userId : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
try {
val result : AnalyticsUser = apiInstance.analyticsGetUser(userId)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#analyticsGetUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#analyticsGetUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userId | java.util.UUID |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
analyticsGetUserTeams
kotlin.collections.List<AnalyticsTeam> analyticsGetUserTeams(userId, page, pageSize, orderBy, search)
List teams a user belongs to
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userId : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val page : kotlin.Int = 56 // kotlin.Int |
val pageSize : kotlin.Int = 56 // kotlin.Int |
val orderBy : kotlin.String = orderBy_example // kotlin.String |
val search : kotlin.String = search_example // kotlin.String |
try {
val result : kotlin.collections.List<AnalyticsTeam> = apiInstance.analyticsGetUserTeams(userId, page, pageSize, orderBy, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#analyticsGetUserTeams")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#analyticsGetUserTeams")
e.printStackTrace()
}
Parameters
| userId | java.util.UUID| | | | page | kotlin.Int| | [optional] | | pageSize | kotlin.Int| | [optional] | | orderBy | kotlin.String| | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| search | kotlin.String | [optional] |
Return type
kotlin.collections.List<AnalyticsTeam>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
analyticsGetUserUsage
AnalyticsGetUserUsage200Response analyticsGetUserUsage(userId, startAt, endAt)
Get event usage breakdown for a user (admin only)
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userId : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val startAt : kotlin.Long = 789 // kotlin.Long | Start timestamp in milliseconds
val endAt : kotlin.Long = 789 // kotlin.Long | End timestamp in milliseconds
try {
val result : AnalyticsGetUserUsage200Response = apiInstance.analyticsGetUserUsage(userId, startAt, endAt)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#analyticsGetUserUsage")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#analyticsGetUserUsage")
e.printStackTrace()
}
Parameters
| userId | java.util.UUID| | | | startAt | kotlin.Long| Start timestamp in milliseconds | |
| Name | Type | Description | Notes |
|---|---|---|---|
| endAt | kotlin.Long | End timestamp in milliseconds |
Return type
AnalyticsGetUserUsage200Response
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
analyticsGetUserWebsites
kotlin.collections.List<AnalyticsWebsite> analyticsGetUserWebsites(userId, page, pageSize, orderBy, search)
List websites owned by a user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userId : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val page : kotlin.Int = 56 // kotlin.Int |
val pageSize : kotlin.Int = 56 // kotlin.Int |
val orderBy : kotlin.String = orderBy_example // kotlin.String |
val search : kotlin.String = search_example // kotlin.String |
try {
val result : kotlin.collections.List<AnalyticsWebsite> = apiInstance.analyticsGetUserWebsites(userId, page, pageSize, orderBy, search)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#analyticsGetUserWebsites")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#analyticsGetUserWebsites")
e.printStackTrace()
}
Parameters
| userId | java.util.UUID| | | | page | kotlin.Int| | [optional] | | pageSize | kotlin.Int| | [optional] | | orderBy | kotlin.String| | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| search | kotlin.String | [optional] |
Return type
kotlin.collections.List<AnalyticsWebsite>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
analyticsUpdateUser
AnalyticsUser analyticsUpdateUser(userId, analyticsUpdateUserRequest)
Update user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userId : java.util.UUID = 38400000-8cf0-11bd-b23e-10b96e4ef00d // java.util.UUID |
val analyticsUpdateUserRequest : AnalyticsUpdateUserRequest = // AnalyticsUpdateUserRequest |
try {
val result : AnalyticsUser = apiInstance.analyticsUpdateUser(userId, analyticsUpdateUserRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#analyticsUpdateUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#analyticsUpdateUser")
e.printStackTrace()
}
Parameters
| userId | java.util.UUID| | |
| Name | Type | Description | Notes |
|---|---|---|---|
| analyticsUpdateUserRequest | AnalyticsUpdateUserRequest |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
autoListUsers
kotlin.Any autoListUsers()
List platform users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : kotlin.Any = apiInstance.autoListUsers()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#autoListUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#autoListUsers")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
botGetUser
BotUser botGetUser(handle)
Get user profile by handle
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val handle : kotlin.String = handle_example // kotlin.String |
try {
val result : BotUser = apiInstance.botGetUser(handle)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#botGetUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#botGetUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| handle | kotlin.String |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
botListUserSkills
BotListUserSkills200Response botListUserSkills(handle)
List skills published by a user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val handle : kotlin.String = handle_example // kotlin.String |
try {
val result : BotListUserSkills200Response = apiInstance.botListUserSkills(handle)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#botListUserSkills")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#botListUserSkills")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| handle | kotlin.String |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
botListUserStars
BotListUserStars200Response botListUserStars(handle)
List skills starred by a user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val handle : kotlin.String = handle_example // kotlin.String |
try {
val result : BotListUserStars200Response = apiInstance.botListUserStars(handle)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#botListUserStars")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#botListUserStars")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| handle | kotlin.String |
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
botUpdateProfile
AnalyticsHeartbeat200Response botUpdateProfile(botUpdateProfileRequest)
Update current user's profile
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val botUpdateProfileRequest : BotUpdateProfileRequest = // BotUpdateProfileRequest |
try {
val result : AnalyticsHeartbeat200Response = apiInstance.botUpdateProfile(botUpdateProfileRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#botUpdateProfile")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#botUpdateProfile")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| botUpdateProfileRequest | BotUpdateProfileRequest |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
commerceCreateUser
CommerceUser commerceCreateUser(commerceUser)
Create user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val commerceUser : CommerceUser = // CommerceUser |
try {
val result : CommerceUser = apiInstance.commerceCreateUser(commerceUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceCreateUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceCreateUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| commerceUser | CommerceUser |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
commerceCreateWalletAccount
kotlin.Any commerceCreateWalletAccount(userid, commerceCreateWalletAccountRequest)
Create wallet account
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
val commerceCreateWalletAccountRequest : CommerceCreateWalletAccountRequest = // CommerceCreateWalletAccountRequest |
try {
val result : kotlin.Any = apiInstance.commerceCreateWalletAccount(userid, commerceCreateWalletAccountRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceCreateWalletAccount")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceCreateWalletAccount")
e.printStackTrace()
}
Parameters
| userid | kotlin.String| | |
| Name | Type | Description | Notes |
|---|---|---|---|
| commerceCreateWalletAccountRequest | CommerceCreateWalletAccountRequest |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
commerceDeleteUser
commerceDeleteUser(userid)
Delete user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
apiInstance.commerceDeleteUser(userid)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceDeleteUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceDeleteUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
null (empty response body)
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetUser
CommerceUser commerceGetUser(userid)
Get user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : CommerceUser = apiInstance.commerceGetUser(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetUserOrders
kotlin.collections.List<CommerceOrder> commerceGetUserOrders(userid)
Get user orders
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : kotlin.collections.List<CommerceOrder> = apiInstance.commerceGetUserOrders(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetUserOrders")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetUserOrders")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
kotlin.collections.List<CommerceOrder>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetUserPaymentMethods
kotlin.collections.List<CommercePaymentMethod> commerceGetUserPaymentMethods(userid)
Get user payment methods
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : kotlin.collections.List<CommercePaymentMethod> = apiInstance.commerceGetUserPaymentMethods(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetUserPaymentMethods")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetUserPaymentMethods")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
kotlin.collections.List<CommercePaymentMethod>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetUserReferrals
kotlin.collections.List<CommerceReferral> commerceGetUserReferrals(userid)
Get user referrals
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : kotlin.collections.List<CommerceReferral> = apiInstance.commerceGetUserReferrals(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetUserReferrals")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetUserReferrals")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
kotlin.collections.List<CommerceReferral>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetUserReferrers
kotlin.collections.List<CommerceReferrer> commerceGetUserReferrers(userid)
Get user referrers
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : kotlin.collections.List<CommerceReferrer> = apiInstance.commerceGetUserReferrers(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetUserReferrers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetUserReferrers")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
kotlin.collections.List<CommerceReferrer>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetUserTransactions
kotlin.collections.Map<kotlin.String, CommerceTransactionData> commerceGetUserTransactions(userid)
Get user transactions
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : kotlin.collections.Map<kotlin.String, CommerceTransactionData> = apiInstance.commerceGetUserTransactions(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetUserTransactions")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetUserTransactions")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
kotlin.collections.Map<kotlin.String, CommerceTransactionData>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetUserWallet
CommerceWallet commerceGetUserWallet(userid)
Get user wallet
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : CommerceWallet = apiInstance.commerceGetUserWallet(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetUserWallet")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetUserWallet")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceGetWalletAccount
CommerceWalletAccount commerceGetWalletAccount(userid, name)
Get wallet account
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
val name : kotlin.String = name_example // kotlin.String |
try {
val result : CommerceWalletAccount = apiInstance.commerceGetWalletAccount(userid, name)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceGetWalletAccount")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceGetWalletAccount")
e.printStackTrace()
}
Parameters
| userid | kotlin.String| | |
| Name | Type | Description | Notes |
|---|---|---|---|
| name | kotlin.String |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceListUsers
CommercePaginatedUsers commerceListUsers(page, display, sort, q)
List users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val page : kotlin.Int = 56 // kotlin.Int | Page number (1-indexed)
val display : kotlin.Int = 56 // kotlin.Int | Number of items per page
val sort : kotlin.String = sort_example // kotlin.String | Sort field (prefix with - for descending)
val q : kotlin.String = q_example // kotlin.String | Search query
try {
val result : CommercePaginatedUsers = apiInstance.commerceListUsers(page, display, sort, q)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceListUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceListUsers")
e.printStackTrace()
}
Parameters
| page | kotlin.Int| Page number (1-indexed) | [optional] [default to 1] | | display | kotlin.Int| Number of items per page | [optional] [default to 20] | | sort | kotlin.String| Sort field (prefix with - for descending) | [optional] [default to "-UpdatedAt"] |
| Name | Type | Description | Notes |
|---|---|---|---|
| q | kotlin.String | Search query | [optional] |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commercePatchUser
CommerceUser commercePatchUser(userid, commerceUser)
Partially update user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
val commerceUser : CommerceUser = // CommerceUser |
try {
val result : CommerceUser = apiInstance.commercePatchUser(userid, commerceUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commercePatchUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commercePatchUser")
e.printStackTrace()
}
Parameters
| userid | kotlin.String| | |
| Name | Type | Description | Notes |
|---|---|---|---|
| commerceUser | CommerceUser |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
commerceResetUserPassword
kotlin.Any commerceResetUserPassword(userid)
Reset user password (admin)
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
try {
val result : kotlin.Any = apiInstance.commerceResetUserPassword(userid)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceResetUserPassword")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceResetUserPassword")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| userid | kotlin.String |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
commerceUpdateUser
CommerceUser commerceUpdateUser(userid, commerceUser)
Update user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
val commerceUser : CommerceUser = // CommerceUser |
try {
val result : CommerceUser = apiInstance.commerceUpdateUser(userid, commerceUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceUpdateUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceUpdateUser")
e.printStackTrace()
}
Parameters
| userid | kotlin.String| | |
| Name | Type | Description | Notes |
|---|---|---|---|
| commerceUser | CommerceUser |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
commerceWalletPay
kotlin.Any commerceWalletPay(userid, commerceWalletPayRequest)
Send payment from wallet
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userid : kotlin.String = userid_example // kotlin.String |
val commerceWalletPayRequest : CommerceWalletPayRequest = // CommerceWalletPayRequest |
try {
val result : kotlin.Any = apiInstance.commerceWalletPay(userid, commerceWalletPayRequest)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#commerceWalletPay")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#commerceWalletPay")
e.printStackTrace()
}
Parameters
| userid | kotlin.String| | |
| Name | Type | Description | Notes |
|---|---|---|---|
| commerceWalletPayRequest | CommerceWalletPayRequest |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
flowGetUser
FlowUser flowGetUser(id)
Get user by id
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String |
try {
val result : FlowUser = apiInstance.flowGetUser(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#flowGetUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#flowGetUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | kotlin.String |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
flowListUsers
FlowListUsers200Response flowListUsers(cursor, limit)
List platform users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val cursor : kotlin.String = cursor_example // kotlin.String |
val limit : kotlin.Int = 56 // kotlin.Int |
try {
val result : FlowListUsers200Response = apiInstance.flowListUsers(cursor, limit)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#flowListUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#flowListUsers")
e.printStackTrace()
}
Parameters
| cursor | kotlin.String| | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | kotlin.Int | [optional] |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerAddLdap
IamControllersResponse iamApiControllerAddLdap(iamObjectLdap)
Api Controller Add Ldap
add ldap
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val iamObjectLdap : IamObjectLdap = // IamObjectLdap | The details of the ldap
try {
val result : IamControllersResponse = apiInstance.iamApiControllerAddLdap(iamObjectLdap)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerAddLdap")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerAddLdap")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| iamObjectLdap | IamObjectLdap | The details of the ldap |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
iamApiControllerAddUser
IamControllersResponse iamApiControllerAddUser(iamObjectUser)
Api Controller Add User
add user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val iamObjectUser : IamObjectUser = // IamObjectUser | The details of the user
try {
val result : IamControllersResponse = apiInstance.iamApiControllerAddUser(iamObjectUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerAddUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerAddUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| iamObjectUser | IamObjectUser | The details of the user |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
iamApiControllerAddUserKeys
IamObjectUserinfo iamApiControllerAddUserKeys()
Api Controller Add User Keys
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : IamObjectUserinfo = apiInstance.iamApiControllerAddUserKeys()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerAddUserKeys")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerAddUserKeys")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerCheckUserPassword
IamObjectUserinfo iamApiControllerCheckUserPassword()
Api Controller Check User Password
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : IamObjectUserinfo = apiInstance.iamApiControllerCheckUserPassword()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerCheckUserPassword")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerCheckUserPassword")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerDeleteLdap
IamControllersResponse iamApiControllerDeleteLdap(id, iamObjectLdap)
Api Controller Delete Ldap
delete ldap
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | Resource identifier (owner/name)
val iamObjectLdap : IamObjectLdap = // IamObjectLdap | The details of the ldap
try {
val result : IamControllersResponse = apiInstance.iamApiControllerDeleteLdap(id, iamObjectLdap)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerDeleteLdap")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerDeleteLdap")
e.printStackTrace()
}
Parameters
| id | kotlin.String| Resource identifier (owner/name) | |
| Name | Type | Description | Notes |
|---|---|---|---|
| iamObjectLdap | IamObjectLdap | The details of the ldap |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
iamApiControllerDeleteUser
IamControllersResponse iamApiControllerDeleteUser(id, iamObjectUser)
Api Controller Delete User
delete user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | Resource identifier (owner/name)
val iamObjectUser : IamObjectUser = // IamObjectUser | The details of the user
try {
val result : IamControllersResponse = apiInstance.iamApiControllerDeleteUser(id, iamObjectUser)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerDeleteUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerDeleteUser")
e.printStackTrace()
}
Parameters
| id | kotlin.String| Resource identifier (owner/name) | |
| Name | Type | Description | Notes |
|---|---|---|---|
| iamObjectUser | IamObjectUser | The details of the user |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
iamApiControllerExitImpersonateUser
IamControllersResponse iamApiControllerExitImpersonateUser()
Api Controller Exit Impersonate User
clear impersonation info for current session
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : IamControllersResponse = apiInstance.iamApiControllerExitImpersonateUser()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerExitImpersonateUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerExitImpersonateUser")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetAccount
IamControllersResponse iamApiControllerGetAccount(id)
Api Controller Get Account
get the details of the current account
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | Resource identifier (owner/name)
try {
val result : IamControllersResponse = apiInstance.iamApiControllerGetAccount(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetAccount")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetAccount")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | kotlin.String | Resource identifier (owner/name) |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetEmailAndPhone
IamControllersResponse iamApiControllerGetEmailAndPhone(username, organization)
Api Controller Get Email And Phone
get email and phone by username
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val username : kotlin.String = username_example // kotlin.String | The username of the user
val organization : kotlin.String = organization_example // kotlin.String | The organization of the user
try {
val result : IamControllersResponse = apiInstance.iamApiControllerGetEmailAndPhone(username, organization)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetEmailAndPhone")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetEmailAndPhone")
e.printStackTrace()
}
Parameters
| username | kotlin.String| The username of the user | |
| Name | Type | Description | Notes |
|---|---|---|---|
| organization | kotlin.String | The organization of the user |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
iamApiControllerGetGlobalUsers
kotlin.collections.List<IamObjectUser> iamApiControllerGetGlobalUsers()
Api Controller Get Global Users
get global users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : kotlin.collections.List<IamObjectUser> = apiInstance.iamApiControllerGetGlobalUsers()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetGlobalUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetGlobalUsers")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
kotlin.collections.List<IamObjectUser>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetLdap
IamObjectLdap iamApiControllerGetLdap(id)
Api Controller Get Ldap
get ldap
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | id
try {
val result : IamObjectLdap = apiInstance.iamApiControllerGetLdap(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetLdap")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetLdap")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | kotlin.String | id |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetLdaps
kotlin.collections.List<IamObjectLdap> iamApiControllerGetLdaps(owner)
Api Controller Get Ldaps
get ldaps
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val owner : kotlin.String = owner_example // kotlin.String | owner
try {
val result : kotlin.collections.List<IamObjectLdap> = apiInstance.iamApiControllerGetLdaps(owner)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetLdaps")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetLdaps")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| owner | kotlin.String | owner | [optional] |
Return type
kotlin.collections.List<IamObjectLdap>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetLdapser
IamControllersLdapResp iamApiControllerGetLdapser()
Api Controller Get Ldapser
get ldap users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : IamControllersLdapResp = apiInstance.iamApiControllerGetLdapser()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetLdapser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetLdapser")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetSortedUsers
kotlin.collections.List<IamObjectUser> iamApiControllerGetSortedUsers(owner, sorter, limit)
Api Controller Get Sorted Users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val owner : kotlin.String = owner_example // kotlin.String | The owner of users
val sorter : kotlin.String = sorter_example // kotlin.String | The DB column name to sort by, e.g., created_time
val limit : kotlin.String = limit_example // kotlin.String | The count of users to return, e.g., 25
try {
val result : kotlin.collections.List<IamObjectUser> = apiInstance.iamApiControllerGetSortedUsers(owner, sorter, limit)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetSortedUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetSortedUsers")
e.printStackTrace()
}
Parameters
| owner | kotlin.String| The owner of users | | | sorter | kotlin.String| The DB column name to sort by, e.g., created_time | |
| Name | Type | Description | Notes |
|---|---|---|---|
| limit | kotlin.String | The count of users to return, e.g., 25 |
Return type
kotlin.collections.List<IamObjectUser>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetUser
IamObjectUser iamApiControllerGetUser(id, owner, email, phone, userId)
Api Controller Get User
get user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | The id ( owner/name ) of the user
val owner : kotlin.String = owner_example // kotlin.String | The owner of the user
val email : kotlin.String = email_example // kotlin.String | The email of the user
val phone : kotlin.String = phone_example // kotlin.String | The phone of the user
val userId : kotlin.String = userId_example // kotlin.String | The userId of the user
try {
val result : IamObjectUser = apiInstance.iamApiControllerGetUser(id, owner, email, phone, userId)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetUser")
e.printStackTrace()
}
Parameters
| id | kotlin.String| The id ( owner/name ) of the user | | | owner | kotlin.String| The owner of the user | [optional] | | email | kotlin.String| The email of the user | [optional] | | phone | kotlin.String| The phone of the user | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| userId | kotlin.String | The userId of the user | [optional] |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetUserCount
kotlin.Any iamApiControllerGetUserCount(id, owner, isOnline)
Api Controller Get User Count
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | Resource identifier (owner/name)
val owner : kotlin.String = owner_example // kotlin.String | The owner of users
val isOnline : kotlin.String = isOnline_example // kotlin.String | The filter for query, 1 for online, 0 for offline, empty string for all users
try {
val result : kotlin.Any = apiInstance.iamApiControllerGetUserCount(id, owner, isOnline)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetUserCount")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetUserCount")
e.printStackTrace()
}
Parameters
| id | kotlin.String| Resource identifier (owner/name) | | | owner | kotlin.String| The owner of users | |
| Name | Type | Description | Notes |
|---|---|---|---|
| isOnline | kotlin.String | The filter for query, 1 for online, 0 for offline, empty string for all users |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerGetUsers
kotlin.collections.List<IamObjectUser> iamApiControllerGetUsers(owner)
Api Controller Get Users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val owner : kotlin.String = owner_example // kotlin.String | The owner of users
try {
val result : kotlin.collections.List<IamObjectUser> = apiInstance.iamApiControllerGetUsers(owner)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerGetUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerGetUsers")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| owner | kotlin.String | The owner of users |
Return type
kotlin.collections.List<IamObjectUser>
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerImpersonateUser
IamControllersResponse iamApiControllerImpersonateUser(username)
Api Controller Impersonate User
set impersonation user for current admin session
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val username : kotlin.String = username_example // kotlin.String | The username to impersonate (owner/name)
try {
val result : IamControllersResponse = apiInstance.iamApiControllerImpersonateUser(username)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerImpersonateUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerImpersonateUser")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| username | kotlin.String | The username to impersonate (owner/name) |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
iamApiControllerResetEmailOrPhone
IamObjectUserinfo iamApiControllerResetEmailOrPhone()
Api Controller Reset Email Or Phone
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : IamObjectUserinfo = apiInstance.iamApiControllerResetEmailOrPhone()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerResetEmailOrPhone")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerResetEmailOrPhone")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerSetPassword
IamControllersResponse iamApiControllerSetPassword(userOwner, userName, oldPassword, newPassword)
Api Controller Set Password
set password
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val userOwner : kotlin.String = userOwner_example // kotlin.String | The owner of the user
val userName : kotlin.String = userName_example // kotlin.String | The name of the user
val oldPassword : kotlin.String = oldPassword_example // kotlin.String | The old password of the user
val newPassword : kotlin.String = newPassword_example // kotlin.String | The new password of the user
try {
val result : IamControllersResponse = apiInstance.iamApiControllerSetPassword(userOwner, userName, oldPassword, newPassword)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerSetPassword")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerSetPassword")
e.printStackTrace()
}
Parameters
| userOwner | kotlin.String| The owner of the user | | | userName | kotlin.String| The name of the user | | | oldPassword | kotlin.String| The old password of the user | |
| Name | Type | Description | Notes |
|---|---|---|---|
| newPassword | kotlin.String | The new password of the user |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/x-www-form-urlencoded
- Accept: application/json
iamApiControllerSyncLdapUsers
IamControllersLdapSyncResp iamApiControllerSyncLdapUsers(id)
Api Controller Sync Ldap Users
sync ldap users
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | id
try {
val result : IamControllersLdapSyncResp = apiInstance.iamApiControllerSyncLdapUsers(id)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerSyncLdapUsers")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerSyncLdapUsers")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| id | kotlin.String | id |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerUpdateLdap
IamControllersResponse iamApiControllerUpdateLdap(id, iamObjectLdap)
Api Controller Update Ldap
update ldap
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | Resource identifier (owner/name)
val iamObjectLdap : IamObjectLdap = // IamObjectLdap | The details of the ldap
try {
val result : IamControllersResponse = apiInstance.iamApiControllerUpdateLdap(id, iamObjectLdap)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerUpdateLdap")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerUpdateLdap")
e.printStackTrace()
}
Parameters
| id | kotlin.String| Resource identifier (owner/name) | |
| Name | Type | Description | Notes |
|---|---|---|---|
| iamObjectLdap | IamObjectLdap | The details of the ldap |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
iamApiControllerUpdateUser
IamControllersResponse iamApiControllerUpdateUser(id, iamObjectUser, userId, owner)
Api Controller Update User
update user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val id : kotlin.String = id_example // kotlin.String | The id ( owner/name ) of the user
val iamObjectUser : IamObjectUser = // IamObjectUser | The details of the user
val userId : kotlin.String = userId_example // kotlin.String | The userId (UUID) of the user
val owner : kotlin.String = owner_example // kotlin.String | The owner of the user (required when using userId)
try {
val result : IamControllersResponse = apiInstance.iamApiControllerUpdateUser(id, iamObjectUser, userId, owner)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerUpdateUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerUpdateUser")
e.printStackTrace()
}
Parameters
| id | kotlin.String| The id ( owner/name ) of the user | | | iamObjectUser | IamObjectUser| The details of the user | | | userId | kotlin.String| The userId (UUID) of the user | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| owner | kotlin.String | The owner of the user (required when using userId) | [optional] |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
iamApiControllerUserInfo
IamObjectUserinfo iamApiControllerUserInfo()
Api Controller User Info
return user information according to OIDC standards
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : IamObjectUserinfo = apiInstance.iamApiControllerUserInfo()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerUserInfo")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerUserInfo")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerUserInfo2
IamControllersLaravelResponse iamApiControllerUserInfo2()
Api Controller User Info2
return Laravel compatible user information according to OAuth 2.0
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : IamControllersLaravelResponse = apiInstance.iamApiControllerUserInfo2()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerUserInfo2")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerUserInfo2")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerVerifyIdentification
IamControllersResponse iamApiControllerVerifyIdentification(owner, name, provider)
Api Controller Verify Identification
verify user's real identity using ID Verification provider
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val owner : kotlin.String = owner_example // kotlin.String | The owner of the user (optional, defaults to logged-in user)
val name : kotlin.String = name_example // kotlin.String | The name of the user (optional, defaults to logged-in user)
val provider : kotlin.String = provider_example // kotlin.String | The name of the ID Verification provider (optional, auto-selected if not provided)
try {
val result : IamControllersResponse = apiInstance.iamApiControllerVerifyIdentification(owner, name, provider)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerVerifyIdentification")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerVerifyIdentification")
e.printStackTrace()
}
Parameters
| owner | kotlin.String| The owner of the user (optional, defaults to logged-in user) | [optional] | | name | kotlin.String| The name of the user (optional, defaults to logged-in user) | [optional] |
| Name | Type | Description | Notes |
|---|---|---|---|
| provider | kotlin.String | The name of the ID Verification provider (optional, auto-selected if not provided) | [optional] |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerWebAuthnSignupBegin
kotlin.Any iamApiControllerWebAuthnSignupBegin()
Api Controller Web Authn Signup Begin
WebAuthn Registration Flow 1st stage
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : kotlin.Any = apiInstance.iamApiControllerWebAuthnSignupBegin()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerWebAuthnSignupBegin")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerWebAuthnSignupBegin")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json
iamApiControllerWebAuthnSignupFinish
IamControllersResponse iamApiControllerWebAuthnSignupFinish(body)
Api Controller Web Authn Signup Finish
WebAuthn Registration Flow 2nd stage
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
val body : kotlin.Any = Object // kotlin.Any | authenticator attestation Response
try {
val result : IamControllersResponse = apiInstance.iamApiControllerWebAuthnSignupFinish(body)
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#iamApiControllerWebAuthnSignupFinish")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#iamApiControllerWebAuthnSignupFinish")
e.printStackTrace()
}
Parameters
| Name | Type | Description | Notes |
|---|---|---|---|
| body | kotlin.Any | authenticator attestation Response |
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: application/json
- Accept: application/json
kmsGetCurrentUser
KmsGetCurrentUser200Response kmsGetCurrentUser()
Get the current authenticated user
Example
// Import classes:
//import ai.hanzo.sdk.infrastructure.*
//import ai.hanzo.sdk.models.*
val apiInstance = UsersApi()
try {
val result : KmsGetCurrentUser200Response = apiInstance.kmsGetCurrentUser()
println(result)
} catch (e: ClientException) {
println("4xx response calling UsersApi#kmsGetCurrentUser")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling UsersApi#kmsGetCurrentUser")
e.printStackTrace()
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
Configure bearerAuth statically:
ApiClient.accessToken = ""
Configure bearerAuth dynamically:
apiInstance.accessTokenProvider = { "" }
HTTP request headers
- Content-Type: Not defined
- Accept: application/json