Update a signing method

How to update your user's signing method.

We allow three singing methods: PIN, Emergency code, and Biometric. You can update a signing method of a user by providing a valid signing method in the header request.

Request Endpoint: reference

PUT /api/users/{userId}/signing-methods/{signingMethodId}
ParameterParam TypeValueDescriptionExample Value
Signing-MethodHeaderid:valueid: This is the ID of the signing method
value: This is the value of the signing method
ParameterParam TypeDescriptionData TypeMandatory
{userId}PathThe ID of the user for whom to update the signing method forStringโœ…
{signingMethodId}PathThis is the ID of the signing method you want to updateStringโœ…
valueBodyThe new value of the signing method. For PIN, the value should be 6 digits. For EMERGENCY_CODE, the value should be 25 characters, or you can leave it blank to autogenerate the code with the correct entropy.StringโŒ

Request Body:

  "value": "987654"

Response Body:


The signing method was updated successfully.

    "success": true,
    "result": {
        "id": "f3371883-2024-469b-a122-ca22f58ba6b9",
        "type": "PIN",
        "incorrectAttempts": 0,
        "remainingAttempts": 10,
        "lastUsedSuccess": "2023-12-06T12:45:32.018063",
        "hasMasterSecret": true