# 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](https://sdk.venly.io/sdk-reference/c-sdk-v3/object-references/wallet/vyupdatesigningmethodrequest) | Request data for the operation                                             |
| signingMethod   | VyUserAuth                                                                                                                        | This operation requires a valid Signing-Method from the corresponding user |

**Returns**

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