@ory/kratos-client
Version:
OpenAPI client for @ory/kratos-client
26 lines (18 loc) • 1.06 kB
Markdown
# CreateRecoveryCodeForIdentityBody
Create Recovery Code for Identity Request Body
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**expires_in** | **string** | Code Expires In The recovery code will expire after that amount of time has passed. Defaults to the configuration value of `selfservice.methods.code.config.lifespan`. | [optional] [default to undefined]
**flow_type** | **string** | The flow type can either be `api` or `browser`. | [optional] [default to undefined]
**identity_id** | **string** | Identity to Recover The identity\'s ID you wish to recover. | [default to undefined]
## Example
```typescript
import { CreateRecoveryCodeForIdentityBody } from '@ory/kratos-client';
const instance: CreateRecoveryCodeForIdentityBody = {
expires_in,
flow_type,
identity_id,
};
```
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)