Modify Remote Control Name

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

Modify the name of a specified remote control based on the remote control ID.

API address

PUT: /v2.0/infrareds/{infrared_id}/remotes/{remote_id}

Request parameter

Parameter nameTypeINRequiredDescription
infrared_idStringuritrueThe device ID.
remote_idStringuritrueThe ID of a specified remote control.

Description of body

Parameter nameTypeINRequiredDescription
remote_nameStringbodytrueThe name of a specified remote control.

Return parameter

Parameter nameTypeDescription
resultBooleanThe operation result.

Request example

PUT: /v2.0/infrareds/vdevo15345926009****/remotes/d5s65ca55
  "remote_name": "test"

Return example

    "result": true,
    "t": 1630911741747,
    "success": true

Error code

For more information, see error code.