Skip to content

Delete Prompt

bedrockagent_delete_prompt R Documentation

Deletes a prompt or a version of it, depending on whether you include the promptVersion field or not

Description

Deletes a prompt or a version of it, depending on whether you include the promptVersion field or not. For more information, see Delete prompts from the Prompt management tool and Delete a version of a prompt from the Prompt management tool in the Amazon Bedrock User Guide.

Usage

bedrockagent_delete_prompt(promptIdentifier, promptVersion)

Arguments

promptIdentifier

[required] The unique identifier of the prompt.

promptVersion

The version of the prompt to delete. To delete the prompt, omit this field.

Value

A list with the following syntax:

list(
  id = "string",
  version = "string"
)

Request syntax

svc$delete_prompt(
  promptIdentifier = "string",
  promptVersion = "string"
)