system.mes.equipment.deleteEquipmentPropertyValue
Description
Deletes an Equipment Property Values record by its ID.
Permissions
This method requires the EQUIPMENT.WRITE.DELETE permission.
Syntax
system.mes.equipment.deleteEquipmentPropertyValue(id)
Parameters
| Parameter | Type | Nullable | Description |
|---|---|---|---|
id | String | False | The ULID of the equipment property value to delete. |
Returns
If successful, an ApiResponse Object is returned with the success bool set True.
| Name | Type | Description |
|---|---|---|
success | Boolean | Indicates if the delete was successful. |
message | String | The reason why the deletion was successful or unsuccessful. |
data | String | The data associated with the deletion. |
error | String | The errors associated with the deletion. |
Code Examples
system.mes.equipment.deleteEquipmentPropertyValue('01JAP8RJBN-8ZTPXSGY-J9GSDPE1')