You can remove a data accessor's permissions to your Amazon Q index using the Amazon Q Business console or the Amazon Q Business API using the AWS SDK, REST API, or AWS CLI. Once deleted, you will have to add the data and reconfigure access to grant the data accessor access again.
The following procedures show how you delete or remove a data accessor using the Amazon Q Business console or the AWS CLI.
Using the Amazon Q Business
console
-
Sign in to the AWS Management Console and open the Amazon Q Business console.
-
Choose Applications, then select the name of your application environment from the list.
-
From the left navigation, choose Data accessors.
-
From the Data accessor table, select the data accessor that you want to delete.
-
Choose Actions, then choose Delete.
-
Confirm your choice.
Using the AWS CLI;
aws qbusiness delete-data-accessor \
--application-id ${qbusiness_application_id} \
--data-accessors-id ${qbusiness_data_accessor_id}
aws qbusiness disassociate-permission \
--application-id ${qbusiness_application_id} \
--statement-id ${policy_statement_id}