Revoke access to a shared model
To learn how to revoke access to a model that you've shared, choose the tab for your preferred method, and then follow the steps:
- Console
-
-
Sign in to the AWS Management Console using an IAM role with Amazon Bedrock permissions, and open the Amazon Bedrock console at https://console.aws.amazon.com/bedrock/
. -
From the left navigation pane, choose Custom models under Foundation models.
-
In the Models table, select the model that you want to revoke access to.
-
In the Model sharing details section, do the following to delete a model share and revoke access from the accounts specified in that model share:
-
Select a model share and choose Revoke shared model.
-
Review the message, type
revoke
in the text box, and choose Revoke shared model to confirm revoking of access.
-
-
- API
-
To revoke access to a model from an account, send a DisassociateResourceShare request with an AWS Resource Access Manager endpoint. Specify the ARN of the share in the
resourceShareArn
field and the account whose access you want to revoke in the list ofprincipals
.To completely delete a resource share by sending a DeleteResourceShare request with an AWS Resource Access Manager endpoint. Specify the ARN of the share in the
resourceShareArn
.