---
title: "Reject Prompt Suggestion"
method: POST
path: "/prompts/suggestions/{prompt_suggestion_id}/reject"
tags: ["Project"]
---

# Reject Prompt Suggestion

`POST /prompts/suggestions/{prompt_suggestion_id}/reject`

## Request

- Base URL: `https://api.peec.ai/customer/v1`
- URL: `https://api.peec.ai/customer/v1/prompts/suggestions/{prompt_suggestion_id}/reject`
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in query parameter `api_key`
  - HTTP bearer

Reject a prompt suggestion by ID, deleting it. Accepts both standard suggestions (`ps_`) and Prompt discovery suggestions (`pr_`).

## Path parameters

- `prompt_suggestion_id` string, required

## Response `200`

Prompt suggestion rejected successfully

- object: Prompt suggestion rejected successfully

## Other responses

- `404`: Response for status 404

---

[API](https://skmtc.dev/peec/apis/peec-ai-customer-api.md) - [All operations](https://skmtc.dev/peec/apis/peec-ai-customer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/peec/apis/peec-ai-customer-api/revisions/9d774600c8eb?raw)
