@ory/kratos-client
Version:
OpenAPI client for @ory/kratos-client
30 lines (22 loc) • 1.77 kB
Markdown
Update Verification Flow Request Body
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csrf_token** | **string** | Sending the anti-csrf token is only required for browser login flows. | [optional] [default to undefined]
**email** | **string** | The email address to verify If the email belongs to a valid account, a verifiation email will be sent. If you want to notify the email address if the account does not exist, see the [notify_unknown_recipients flag](https://www.ory.sh/docs/kratos/self-service/flows/verify-email-account-activation#attempted-verification-notifications) If a code was already sent, including this field in the payload will invalidate the sent code and re-send a new code. format: email | [default to undefined]
**method** | **string** | Method is the method that should be used for this verification flow Allowed values are &
**transient_payload** | **object** | Transient data to pass along to any webhooks | [optional] [default to undefined]
**code** | **string** | Code from the recovery email If you want to submit a code, use this field, but make sure to _not_ include the email field, as well. | [optional] [default to undefined]
```typescript
import { UpdateVerificationFlowBody } from '@ory/kratos-client';
const instance: UpdateVerificationFlowBody = {
csrf_token,
email,
method,
transient_payload,
code,
};
```
[[Back to Model list]](../README.md