All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| recover | POST /password/recover | Recover password |
| reset | POST /password/reset | Reset Password |
recover(body)
Recover password
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = PasswordApi()
val body : PostRecoverBody = // PostRecoverBody |
try {
apiInstance.recover(body)
} catch (e: ClientException) {
println("4xx response calling PasswordApi#recover")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PasswordApi#recover")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PostRecoverBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined
reset(body)
Reset Password
// Import classes:
//import io.swagger.client.infrastructure.*
//import io.github.cactacea.backend.*
val apiInstance = PasswordApi()
val body : PostResetBody = // PostResetBody |
try {
apiInstance.reset(body)
} catch (e: ClientException) {
println("4xx response calling PasswordApi#reset")
e.printStackTrace()
} catch (e: ServerException) {
println("5xx response calling PasswordApi#reset")
e.printStackTrace()
}| Name | Type | Description | Notes |
|---|---|---|---|
| body | PostResetBody |
null (empty response body)
No authorization required
- Content-Type: Not defined
- Accept: Not defined