# UpdateSigningMethod

### Description

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" %}

```csharp
public static VyTask<VySigningMethodDto> UpdateSigningMethod(string userId, string signingMethodId, VyUpdateSigningMethodRequest reqParams, VyUserAuth signingMethod)
```

{% endcode %}

{% tabs %}
{% tab title="Details" %}
**Parameters**

| userId          | string                                                                                                           | This is the \`UUID\` of the user whos signing method you want to update.   |
| --------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| signingMethodId | string                                                                                                           | This is the \`UUID\` of signing method you want to update.                 |
| reqParams       | [VyUpdateSigningMethodRequest](/sdk-reference/c-sdk-v3/object-references/wallet/vyupdatesigningmethodrequest.md) | Request data for the operation                                             |
| signingMethod   | VyUserAuth                                                                                                       | This operation requires a valid Signing-Method from the corresponding user |

**Returns**

VyTask<[VySigningMethodDto](/sdk-reference/c-sdk-v3/object-references/wallet/vysigningmethoddto.md)>\
Signing method of user updated successfully.
{% endtab %}
{% endtabs %}


---

# 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/c-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.
