Delete Learning Code

Last Updated on : 2023-06-20 14:54:06download

Delete a learning code based on the ID.

API address

DELETE: /v2.0/infrareds/{infrared_id}/learning-codes/{learn_id}

Request parameter

Parameter name Type IN Required Description
infrared_id String uri true The device ID.
learn_id Long uri true The ID of a specified learning code.

Return parameter

Parameter name Type Description
result Boolean The operation result.

Request example

DELETE: /v2.0/infrareds/vdevo15345926009****/learning-codes/1111

Return example

{ "result": true, "t": 1631094814128, "success": true }

Error code

For more information, see error code.