Skip to main content

system.mes.oee.deleteOeeAlarm

Description

Deletes an OEE Alarm configuration by its ID. This cannot delete an alarm with references to it.

Permissions

This method requires the OEE.WRITE.DELETE permission.

Syntax

system.mes.oee.deleteOeeAlarm(id)

Parameters

ParameterTypeNullableDescription
idString (ULID)FalseThe ID of the OEE alarm to delete.

Returns

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

Code Examples

# Delete an OEE alarm
result = system.mes.oee.deleteOeeAlarm('01JAP8RJBN-8ZTPXSGY-J9GSDPE1')