立即开始
Box Tools

Box Assign Retention Policy

通过 Aident Loadout 使用 Box Tools 的 Box Assign Retention Policy。执行前查看输入、输出、设置、价格和风险。

写入操作风险等级 2/5OAuth 连接

服务提供商说明

Assigns a retention policy to an item in Box to enforce content retention. Use this action to apply a retention policy to: - An entire enterprise (assign_to_type='enterprise', no ID needed) - A specific folder (assign_to_type='folder', provide folder ID) - Items matching metadat…

价格与限制

价格
免费操作
统一支付
暂不支持

输入

  • policy_idstring
    必填
    The unique ID of the retention policy to assign (e.g., '173463'). Get this from list_retention_policies or create_retention_policy.
  • filter_fieldsarray
    Optional metadata filters when assign_to_type is 'metadata_template'. Array of objects with 'field' (metadata attribute key ID) and 'value' (field value ID). Only enum and multiselect field types are supported. Currently limited to one filter object.
  • assign__to__idstring
    The ID of the target item. Required for 'folder' (folder ID like '6564564') and 'metadata_template' (template ID). Omit or set to null when assign_to_type is 'enterprise'.
  • assign__to__typestring
    必填
    The type of item to assign the policy to. Options: 'enterprise' (applies to all enterprise content), 'folder' (applies to specific folder by ID), 'metadata_template' (applies based on metadata criteria).
  • start_date_fieldstring
    The date field that determines when retention begins. For 'metadata_template' assignments, this can be a date field's metadata attribute key ID (e.g., 'upload_date'). Only applicable when assign_to_type is 'metadata_template'.

可观察输出

  • data
    必填
    Data from the action execution
  • errorstring
    Error if any occurred during the execution of the action
  • successfulboolean
    必填
    Whether or not the action execution was successful or not

使用此操作的技能

相关使用场景

尚未关联经过验证的相关使用场景。

官方来源

服务提供商来源