Skip to main content
Version: V2 (Ignition 8.1)

system.mes.meter.deleteMeterConfigurations

Description​

Deletes multiple Meter Configuration records by the given IDs.

Permissions​

This method requires the METERING.WRITE.DELETE permission.

Syntax​

system.mes.meter.deleteMeterConfigurations(ids)

Parameters​

ParameterTypeNullableDescription
idsList<String>FalseList of IDs of Meter Configurations to delete.

Returns​

If successful, an ApiResponse object is returned with the success bool set to True.

NameTypeDescription
successBooleanIndicates if the delete was successful.
messageStringThe reason why the deletion was successful or unsuccessful.
dataStringThe data associated with the deletion.
errorStringThe errors associated with the deletion.

Code Examples​

# Delete multiple Meter Configurations by ID
response = system.mes.meter.deleteMeterConfigurations([
'01J9YP3JBR-WQ8GWRR2-8Y879V2F',
'01J9YP3JBR-WQ8GWRR2-8Y879V2G'
])
print(response)