

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 從 Security Lake 移除資料訂閱者
<a name="remove-data-access-subscriber"></a>

如果您不再希望訂閱者從 Security Lake 取用資料，您可以依照下列步驟移除訂閱者。

------
#### [ Console ]

1. 開啟位於 https：//[https://console.aws.amazon.com/securitylake/](https://console.aws.amazon.com/securitylake/) 的 Security Lake 主控台。

1. 在導覽窗格中，選擇**訂閱者**。

1. 選取您要移除的訂閱者。

1. 選擇**刪除**，然後確認動作。這將刪除訂閱者和所有相關聯的通知設定。

------
#### [ API ]

根據您的案例，執行下列其中一項操作：
+ 若要刪除訂閱者和所有相關通知設定，請使用 Security Lake API 的 [DeleteSubscriber](https://docs.aws.amazon.com/security-lake/latest/APIReference/API_DeleteSubscriber.html) 操作。如果您使用的是 AWS Command Line Interface (AWS CLI)，請執行 [delete-subscriber](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/securitylake/delete-subscriber.html) 命令。
+ 若要保留訂閱者，但停止未來通知訂閱者，請使用 Security Lake API 的 [DeleteSubscriberNotification](https://docs.aws.amazon.com/security-lake/latest/APIReference/API_DeleteSubscriberNotification.html) 操作。如果您使用的是 AWS Command Line Interface (AWS CLI)，請執行 [delete-subscriber-notification](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/securitylake/delete-subscriber-notification.html) 命令。

------