resetPanelAgentCredits
Requires:
@tuya-miniapp/cloud-api≥1.7.5
Method signature
resetPanelAgentCredits(params: )Description
Use one available reset to restore the device's Credits to the current plan limit.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| Yes | devId of the current device |
Return Value
Type: Promise<boolean>
true indicates that one reset has been used and Credits have been restored. false indicates that the Credits feature is not enabled or there are insufficient available resets.