Skip to content

Delete one of the person's own ideas

DELETE
/api/widget/ideas/{id}
curl --request DELETE \
--url https://feedzzie.com/api/widget/ideas/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'X-Feedzzie-Key: <X-Feedzzie-Key>' \
--header 'X-Widget-Anonymous-Id: example'

Deletes an idea the person sent from this project, published or not, with its votes and comments, in one transaction, and answers { deleted: true }. Ideas merged into it come back to the board on their own (or closed, when the plan has no room for another active idea). The idea’s open reports close. Sends one idea.deleted webhook. An idea the team has already taken (status planned, in_progress or shipped, and not merged into another) is not deleted: the person is unlinked from it instead. Their submission record with its email, their vote, their comments on it and the description they wrote go (description becomes null, also in the idea’s events still kept for webhook delivery), and the idea loses its author reference; it stays on the roadmap as anonymous, with its title only and everyone else’s votes and comments. The answer is then { unlinked: true }, which the SDK treats as a deletion on the device, and no webhook is sent. The person’s ban, if any, stays, and a banned person can still delete. Works with the project’s widget disabled. Auth via public key (X-Feedzzie-Key) only; without it the answer is 401.

id
required
string format: uuid
X-Widget-Anonymous-Id
required
string
>= 1 characters <= 255 characters

The person’s anonymous_id, the one the SDK sends as anonymous_id elsewhere: 1 to 255 characters, never starting with board:. Only this header is read: an anonymous_id in the query or the body is ignored, and the server answers 400 without the header

Idea deleted ({ deleted: true }), or, when the team had already taken it, kept with its title only, without the person or their description ({ unlinked: true })

Media typeapplication/json
One of:
object
deleted
required
boolean

Example

{
"deleted": true
}

Missing or invalid X-Widget-Anonymous-Id, or an id that is not a UUID

The X-Feedzzie-Key public key is invalid, revoked or expired

Media typeapplication/json
object
error
string

Example

{
"error": "Invalid or revoked public key"
}

Public key not bound to a project, app bundle ID not allowed, or domain not allowed (a browser using the key must come from one of the project’s allowed_domains). A disabled widget does not refuse

No idea of this person with this id in the project: not theirs, not there, already deleted or already unlinked (a repeat answers 404)

Too many requests: the per-IP limit, the per-IP limit of distinct anonymous_id values, the daily cap of this anonymous_id, or the 5 votes per idea and IP every 24 hours; an IPv6 client also shares each per-IP limit with its /48 network. Retry after Retry-After seconds.

Media typeapplication/json
object
error
required
string
retryAfter
required

The Retry-After value, readable from a browser on any origin

integer
>= 1

Example

{
"error": "Rate limit exceeded",
"retryAfter": 1830
}
Retry-After
integer
>= 1

Seconds to wait before retrying

The deletion failed; nothing was deleted

The rate limiter (Upstash) could not be reached, or a read the widget needs (the public key, the organization, the project or its old slugs, the idea, a parent comment or the widget settings) failed, so the request was not processed. Retry after the given delay. A failed read is never answered as a 401, 403 or 404, so it says nothing about the key or the board. When only Upstash fails, reads are served without the rate limiter.

Media typeapplication/json
object
error
string
retryAfter
integer

Example

{
"error": "Service temporarily unavailable",
"retryAfter": 30
}
Retry-After
integer

Seconds to wait before retrying