Delete a version of a prompt in Prompt management
To learn how to delete a version of your prompt, choose the tab for your preferred method, and then follow the steps:
- Console
-
To delete a version of your prompt
-
Sign in to the AWS Management Console with an IAM identity that has permissions to use the Amazon Bedrock console. Then, open the Amazon Bedrock console at Getting Started with the AWS Management Console.
-
Select Prompt management from the left navigation pane. Then, choose a prompt in the Prompts section.
-
In the Prompt versions section, select a version and choose Delete.
-
In the Version details page, you can see information about the version, the prompt message, and its configurations. For more information about testing a version of the prompt, see Test a prompt using Prompt management.
-
Review the warning that appears, type confirm, and then choose Delete.
-
- API
-
To delete a version of your prompt, send a DeletePrompt request with an Agents for Amazon Bedrock build-time endpoint and specify the ARN or ID of the prompt as the
promptIdentifier
. In thepromptVersion
field, specify the version number to delete.