

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# 从安全湖移除数据订阅者
<a name="remove-data-access-subscriber"></a>

如果您不再希望某个订阅用户访问 Security Lake 中的数据，可以按照以下步骤删除该订阅用户。

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

1. 在上打开 Security Lake 控制台[https://console.aws.amazon.com/securitylake/](https://console.aws.amazon.com/securitylake/)。

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)，请运行[删除订阅者命令](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)，请运行 run [delete-subscriber-notification](https://awscli.amazonaws.com/v2/documentation/api/latest/reference/securitylake/delete-subscriber-notification.html)命令。

------