updateTempCustom(params: UpdateTempPasswordParams)
Requires:
@ray-js/lock-sdk≥1.0.0
Description
Update a custom temporary password.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | Update parameters |
Return Value
Type: Promise<boolean>
None (resolve after successful update)
Error Code
| Error Code | Error Message |
|---|---|
1031 | Password name too long (over 20 characters) |
1032 | Missing validity time settings |
1033 | Missing start date |
1034 | Missing end date |
1010 | Start time is later than end time |
1035 | weeks not provided in weekly repeat mode |
1039 | Cloud: Invalid time parameters (START_END_DATE_NOT_RIGHT) |
Referenced Types
type
WeekWeekly repeat bitmap: indices 0–6 correspond to Sun–Sat; 0 inactive, 1 activeValid Values
EffectiveConfig.repeat
| Value | Description | Since |
|---|---|---|
none | - | - |
week | - | - |
Week
| Value | Description | Since |
|---|---|---|
0 | - | - |
1 | - | - |