# UpdateSigningMethod

This endpoint is used to update a user's signing method. This can be done, in case the user forgets their PIN. In order to update a signing method, another valid signign method has to be passed in the header.

{% code overflow="wrap" %}

```cpp
void UpdateSigningMethod(FString UserId, FString SigningMethodId, const FVyUserAuth& SigningMethod, const FVyUpdateSigningMethodRequest& Params, const FVyOnUpdateSigningMethodComplete& OnComplete) const;
```

{% endcode %}

\
**Parameters**

| UserId          | FString                                                                                                                               | This is the \`UUID\` of the user whos signing method you want to update.                |
| --------------- | ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- |
| SigningMethodId | FString                                                                                                                               | This is the \`UUID\` of signing method you want to update.                              |
| SigningMethod   | FVyUserAuth                                                                                                                           | The Id and Value of one of the user's registered signing-methods                        |
| Params          | [FVyUpdateSigningMethodRequest](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvyupdatesigningmethodrequest) | Parameters for this operation (FVyUpdateSigningMethodRequest)                           |
| OnComplete      | FVyOnUpdateSigningMethodComplete                                                                                                      | The callback function called when the user preferences retrieval operation is complete. |

\
**OnComplete Callback** (FVyOnUpdateSigningMethodComplete)\
Contains a [FVySigningMethodDto](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/object-references/wallet/fvysigningmethoddto) response type
