Update template

This API is used to update a specific template.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Template ID.

Body Params
string
required

Visibility of the template. The possible values are: public, private, or oem.

string
required

Registration method for the device. The possible values are: Same-LAN, Button-Push, AP-Mode, Display, Dsn, or None.

string
required

Type of template. The possible values are: Wifi, Node, Gateway, Cluster, or Sensor.

string

Mandatory if "template_type" is "Gateway". The possible values are: Zigbee or Generic.

string
required

Name of the template.

string
required

Brief info about the template.

string

OEM Model to which this template applies or Cluster ID in case of Cluster template.

connection_priority
array of strings

Priority order of local connection type(s). The possible values are: [], [“LAN“], [“BLE“], [“LAN”, ”BLE“], or [“BLE”, “LAN“]. Where, [] is the default value.

connection_priority
int32

Mandatory if "connection_priority" is not empty and should be greater than 29.

int32

Mandatory if "connection_priority" is not empty and should be greater than 0.

int32

Use this parameter to set the time duration (in seconds) for which the sensor device should be marked as SelfOffline. Please note, this parameter is applicable only for sensor-type templates.

Responses
200

OK

401

Unauthorized

403

Forbidden

422

Unprocessable Entity

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!