# UpdateSettingsFlowBody

Update Settings Flow Request Body

## Properties

Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**csrf_token** | **string** | CSRFToken is the anti-CSRF token. It is only required to remove a key from the browser. | [optional] [default to undefined]
**method** | **string** | Method  Should be set to \&quot;deviceauthn\&quot; when adding, removing, or rotating the secret of a DeviceAuthn key. | [default to undefined]
**password** | **string** | Password is the updated password | [default to undefined]
**transient_payload** | **object** | Transient data to pass along to any webhooks | [optional] [default to undefined]
**traits** | **object** | The identity\&#39;s traits  in: body | [default to undefined]
**flow** | **string** | Flow ID is the flow\&#39;s ID.  in: query | [optional] [default to undefined]
**link** | **string** | Link this provider  Either this or &#x60;unlink&#x60; must be set.  type: string in: body | [optional] [default to undefined]
**unlink** | **string** | Unlink this provider  Either this or &#x60;link&#x60; must be set.  type: string in: body | [optional] [default to undefined]
**upstream_parameters** | **object** | UpstreamParameters are the parameters that are passed to the upstream identity provider.  These parameters are optional and depend on what the upstream identity provider supports. Supported parameters are: &#x60;hd&#x60; (string): The &#x60;hd&#x60; parameter limits the login/registration process to a Google Organization, e.g. &#x60;mycollege.edu&#x60;. &#x60;prompt&#x60; (string): The &#x60;prompt&#x60; specifies whether the Authorization Server prompts the End-User for reauthentication and consent, e.g. &#x60;select_account&#x60;. &#x60;acr_values&#x60; (string): The &#x60;acr_values&#x60; specifies the Authentication Context Class Reference values for the authorization request. | [optional] [default to undefined]
**totp_code** | **string** | ValidationTOTP must contain a valid TOTP based on the | [optional] [default to undefined]
**totp_unlink** | **boolean** | UnlinkTOTP if true will remove the TOTP pairing, effectively removing the credential. This can be used to set up a new TOTP device. | [optional] [default to undefined]
**webauthn_register** | **string** | Register a WebAuthn Security Key  It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] [default to undefined]
**webauthn_register_displayname** | **string** | Name of the WebAuthn Security Key to be Added  A human-readable name for the security key which will be added. | [optional] [default to undefined]
**webauthn_remove** | **string** | Remove a WebAuthn Security Key  This must contain the ID of the WebAuthN connection. | [optional] [default to undefined]
**lookup_secret_confirm** | **boolean** | If set to true will save the regenerated lookup secrets | [optional] [default to undefined]
**lookup_secret_disable** | **boolean** | Disables this method if true. | [optional] [default to undefined]
**lookup_secret_regenerate** | **boolean** | If set to true will regenerate the lookup secrets | [optional] [default to undefined]
**lookup_secret_reveal** | **boolean** | If set to true will reveal the lookup secrets | [optional] [default to undefined]
**passkey_remove** | **string** | Remove a WebAuthn Security Key  This must contain the ID of the WebAuthN connection. | [optional] [default to undefined]
**passkey_settings_register** | **string** | Register a WebAuthn Security Key  It is expected that the JSON returned by the WebAuthn registration process is included here. | [optional] [default to undefined]
**deviceauthn_register** | [**UpdateSettingsFlowWithDeviceAuthnMethodRegister**](UpdateSettingsFlowWithDeviceAuthnMethodRegister.md) | Enrolls a new device key. Set exactly one of deviceauthn_register, deviceauthn_remove, or rotate_secret. | [optional] [default to undefined]
**deviceauthn_remove** | **string** | The client_key_id of the key to remove: the key\&#39;s deterministic fingerprint, the lowercase-hex SHA-256 of the device public key in PKIX, ASN.1 DER (SubjectPublicKeyInfo) form. Keys enrolled before the server derived the id use their original client-chosen value. | [optional] [default to undefined]
**rotate_secret** | [**UpdateSettingsFlowWithDeviceAuthnMethodRotateSecret**](UpdateSettingsFlowWithDeviceAuthnMethodRotateSecret.md) | Re-issues the pin_secret of an existing PIN-protected device key. Set exactly one of deviceauthn_register, deviceauthn_remove, or rotate_secret. | [optional] [default to undefined]

## Example

```typescript
import { UpdateSettingsFlowBody } from '@ory/client';

const instance: UpdateSettingsFlowBody = {
    csrf_token,
    method,
    password,
    transient_payload,
    traits,
    flow,
    link,
    unlink,
    upstream_parameters,
    totp_code,
    totp_unlink,
    webauthn_register,
    webauthn_register_displayname,
    webauthn_remove,
    lookup_secret_confirm,
    lookup_secret_disable,
    lookup_secret_regenerate,
    lookup_secret_reveal,
    passkey_remove,
    passkey_settings_register,
    deviceauthn_register,
    deviceauthn_remove,
    rotate_secret,
};
```

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
