Modify function point name

Last Updated on : 2023-06-20 15:36:23download

You can modify the function point name through this API.

API address

PUT: /v1.0/devices/{device_id}/functions/{function_code}

Request parameter

Parameter nameTypeINRequiredDescription
device_idStringuritrueDevice ID
function_codeStringuritrueFunction point code

Description of body

Parameter nameTypeINRequiredDescription
nameString trueModified function point name

Return parameter

Parameter nameTypeDescription
resultBooleanWhether the modification was successful

Request example

PUT: /v1.0/devices/vdevo15608303530****/functions/switch_1
  "name": "Master Switch"

Return example


Error code

For more information, see error code.