> For the complete documentation index, see [llms.txt](https://sdk.venly.io/sdk-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sdk.venly.io/sdk-reference/ue5-sdk-v3/function-references/wallet/user/updatesigningmethod.md).

# 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](/sdk-reference/ue5-sdk-v3/object-references/wallet/fvyupdatesigningmethodrequest.md) | 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](/sdk-reference/ue5-sdk-v3/object-references/wallet/fvysigningmethoddto.md) response type
