Skip to main content

system.mes.equipment.deleteEquipmentPropertyValues

Description

Deletes multiple Equipment Property Values records by their IDs.

Permissions

This method requires the EQUIPMENT.WRITE.DELETE permission.

Syntax

system.mes.equipment.deleteEquipmentPropertyValues(ids)

Parameters

ParameterTypeNullableDescription
idsList<String>FalseA list of equipment property value ULIDs to delete.

Returns

If successful, an ApiResponse Object is returned with the success bool set 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

system.mes.equipment.deleteEquipmentPropertyValues(['01JAP8RJBN-8ZTPXSGY-J9GSDPE1', '01JAP8RJBN-8ZTPXSGY-K0HGWQF2'])