---
title: "DELETE /assistants/{assistantId}/aiprompts/{aiPromptId}"
method: DELETE
path: "/assistants/{assistantId}/aiprompts/{aiPromptId}"
---

# DELETE /assistants/{assistantId}/aiprompts/{aiPromptId}

`DELETE /assistants/{assistantId}/aiprompts/{aiPromptId}`

Deletes an Amazon Q in Connect AI Prompt.

## Path parameters

- `assistantId` string, required
- `aiPromptId` string, required

## Response `204`

Success

- DeleteAIPromptResponse

## Other responses

- `480` — ValidationException
- `481` — UnauthorizedException
- `482` — AccessDeniedException
- `483` — ResourceNotFoundException
- `484` — ThrottlingException

---

[API](https://skmtc.net/aws/apis/qconnect.md) · [All operations](https://skmtc.net/aws/apis/qconnect/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/qconnect/versions/833f5de92023/schema)
