Skip to main content

system.kanoa.asset.unlinkAssetState

This function requires KanoaOPS module

Description

Checks to see if this state has been stored in the stateEvent table and disables it if it has otherwise deletes it (kanoaOPS).

Syntax

unlinkAssetState(stateAssetLinkId)
  • Parameters
      stateAssetLinkId - Link ID of the state to be unlinked.
  • Returns
      Status message (str).
  • Code Examples

    # Example Usage:
    state_asset_link_id = 123
    status_message = system.kanoa.asset.unlinkAssetState(state_asset_link_id)