Deletes a prompt or a version of it, depending on whether you include the <code>promptVersion</code> field or not. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-manage.html#prompt-management-delete.html">Delete prompts from the Prompt management tool</a> and <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prompt-management-deploy.html#prompt-management-versions-delete.html">Delete a version of a prompt from the Prompt management tool</a> in the Amazon Bedrock User Guide.
delete/prompts/{promptIdentifier}/
Path parameters
promptIdentifierstring required
The unique identifier of the prompt.
Query parameters
promptVersionstring
The version of the prompt to delete. To delete the prompt, omit this field.
Response
Success