Revoke access to a shared model - Amazon Bedrock

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
  1. 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/.

  2. From the left navigation pane, choose Custom models under Foundation models.

  3. In the Models table, select the model that you want to revoke access to.

  4. 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:

    1. Select a model share and choose Revoke shared model.

    2. 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 of principals.

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.