---
title: "Delete a survey"
method: DELETE
path: "/api/v3/surveys/{surveyId}"
tags: ["V3 Surveys"]
---

# Delete a survey

`DELETE /api/v3/surveys/{surveyId}`

Deletes a survey by id. Session cookie or x-api-key.

## Path parameters

- `surveyId` string, cuid2, required

## Response `204`

Survey deleted successfully

## Other responses

- `400` — Bad Request — malformed JSON, invalid query/body/params, duplicate name, or unsupported field.
- `401` — Not authenticated (no valid session or API key).
- `403` — Forbidden — no workspace access, or resource does not exist (404 not used; avoids existence leak).
- `429` — Rate limit exceeded.
- `500` — Internal Server Error.

---

[API](https://skmtc.net/formbricks/apis/formbricks-api-v3.md) · [All operations](https://skmtc.net/formbricks/apis/formbricks-api-v3/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/formbricks/formbricks-api-v3/revisions/552e527a8e9f/schema)
