Delete everything of the person in the project
const url = 'https://feedzzie.com/api/widget/me';const options = { method: 'DELETE', headers: {'X-Widget-Anonymous-Id': 'example', 'X-Feedzzie-Key': '<X-Feedzzie-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request DELETE \ --url https://feedzzie.com/api/widget/me \ --header 'X-Feedzzie-Key: <X-Feedzzie-Key>' \ --header 'X-Widget-Anonymous-Id: example'Deletes, in one transaction, all or nothing, what this anonymous_id has in the key’s project: its ideas, published or not (each with its votes and comments, merged ideas coming back on their own), its votes and the counts they fed, its widget profile and its survey answers. The ideas the team has already taken (status planned, in_progress or shipped, and not merged into another) are not deleted: the person is unlinked from them, as DELETE /api/widget/ideas/{id} does: they stay on the roadmap as anonymous, with their title only (description becomes null). Its comments are deleted, except one that has replies: it is emptied and stays as the place of its replies (GET …/comments lists it with deleted: true). A repeat answers zeros. The person’s ban, if any, stays. Works with the project’s widget disabled. Sends one idea.deleted webhook per deleted idea and nothing for unlinked ideas, votes or comments. Auth via public key (X-Feedzzie-Key) only; without it the answer is 401.
Authorizations
Sección titulada «Authorizations»Parameters
Sección titulada «Parameters»Header Parameters
Sección titulada «Header Parameters»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
Responses
Sección titulada «Responses»What was deleted, and how many ideas were kept without the person; zeros when there was nothing left
object
object
Ideas deleted whole
The person’s votes deleted, those on unlinked ideas included
The person’s comments deleted or emptied, those on unlinked ideas included
Ideas the team had taken, kept on the roadmap with their title only, without the person or their description; an idea counts in ideas or here, never both
Example
{ "deleted": { "ideas": 2, "votes": 5, "comments": 1, "unlinked": 1 }}Missing or invalid X-Widget-Anonymous-Id
The X-Feedzzie-Key public key is invalid, revoked or expired
object
Example
{ "error": "Invalid or revoked public key"}Public key not bound to a project, app bundle ID not allowed, or domain not allowed. A disabled widget does not refuse
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.
object
The Retry-After value, readable from a browser on any origin
Example
{ "error": "Rate limit exceeded", "retryAfter": 1830}Headers
Sección titulada «Headers»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.
object
Example
{ "error": "Service temporarily unavailable", "retryAfter": 30}Headers
Sección titulada «Headers»Seconds to wait before retrying