# OryKratosClient::CreateRecoveryCodeForIdentityBody ## 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] | | **flow_type** | **String** | The flow type can either be `api` or `browser`. | [optional] | | **identity_id** | **String** | Identity to Recover The identity's ID you wish to recover. | | ## Example ```ruby require 'ory-kratos-client' instance = OryKratosClient::CreateRecoveryCodeForIdentityBody.new( expires_in: null, flow_type: null, identity_id: null ) ```