SwitchBotAPI icon indicating copy to clipboard operation
SwitchBotAPI copied to clipboard

command createkey

Open jeremyarnoux opened this issue 6 months ago • 1 comments

Current Situation

Hi, I'm trying to create a code on keypad, here is my request (POST): "command": "createKey","commandType": "command","parameter": {'name':'test','type':'permanent','password':'password'}

response : {"statusCode": 190, "body": {}, "message": "param is invalid"}

Can someone provide me with an example of a valid query please? The device id is missing, right? thx !

Logs

{"statusCode": 190, "body": {}, "message": "param is invalid"}

Configuration

.

Environment

Web API

Additional Context

.

jeremyarnoux avatar Aug 06 '24 09:08 jeremyarnoux