v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1475719557.8 KB

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

idstring required

The unique identifier of the prompt that was deleted.

versionstring

The version of the prompt that was deleted.