# 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


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sdk.venly.io/sdk-reference/ue5-sdk-v3/function-references/wallet/user/updatesigningmethod.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
