put https://example.com/passcodes/private/v1/passcode
Update passcode
List of possible error codes:
Code | Status | Reason | Description |
---|---|---|---|
- | 401 | - | The user is not authorized. |
REQUIRED | 400 | oldPasscode | The value is required. |
REQUIRED | 400 | newPasscode | The value is required. |
INVALID_FORMAT | 400 | newPasscode | The value has invalid format. |
REQUIRED | 400 | repeatedNewPasscode | The value is required. |
EQFIELD | 400 | repeatedNewPasscode | The value must be equal to a value of particular field. |
PASSCODE_NOT_FOUND | 404 | - | A passcode is not set yet by the user. |
PASSCODE_IS_NOT_VALID | 400 | - | The entered passcode is not valid. |