Function: deviceType.Update

Updates a DeviceType with data from the provided Object.

Syntax

{
	"method": "deviceType.Update",
	"params": {
		"id": "...",
		"object": "...",
	},
	"id": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee"
}
AdvFuture<bool> Update( AdvGuid id, DeviceTypeRaw object );
public Task<bool> UpdateAsync(Guid id, DeviceTypeRaw @object, CancellationToken ct = default);
update(id: string, object: DeviceTypeRaw): Promise<boolean>;

Parameters

id : guid

Id of the DeviceType to update.

object : DeviceTypeRaw

DeviceType to update

Result : bool

True if successful.

Remarks

This method requires API write access.