system.kanoa.performanceState.deletePerformanceState(performanceStateId, userId)
Delete a performance state and any associated links to assets
Parameters
performanceStateId Integer: Id of the performance state to delete
userId Integer: Id of user executing the function
Returns
# of records modified Integer
msg String None if success
Example
userId = 18
performanceStateId = 2
retVal, msg = system.kanoa.performanceState.deletePerformanceState(performanceStateId, userId)
print retVal, msg
>>>
1, None