此方法用于删除动作。

    参数

    (array) 要删除的动作的 ID。

    返回值

    返回一个对象,该对象在 actionids 属性下包含要删除的动作的 ID。

    删除多个动作

    删除两个动作。

    响应:

    来源

    CAction::delete() in frontends/php/include/classes/api/services/CAction.php.

    Description

    This method allows to delete actions.

    Return values

    Returns an object containing the IDs of the deleted actions under the actionids property.

    Examples

    Delete multiple actions

    Delete two actions.

    Request:

    Response: