---
title: "Delete Survey"
method: DELETE
path: "/workspaces/{workspace_id}/surveys/{survey_id}"
tags: ["surveys"]
---

# Delete Survey

`DELETE /workspaces/{workspace_id}/surveys/{survey_id}`

## Request

- Base URL: `https://api.useauxos.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.useauxos.com/workspaces/{workspace_id}/surveys/{survey_id}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/useauxos/apis/auxos/docs/workspaces/:workspace_id/surveys/:survey_id/delete.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `survey_id` string, uuid, required
- `workspace_id` string, uuid, required

## Response `200`

Successful Response

- SurveyDeleteResponse
  - `ok` boolean, required
  - `survey_id` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/useauxos/apis/auxos.md) - [All operations](https://skmtc.dev/useauxos/apis/auxos/llms.txt) - [OpenAPI document](https://skmtc.dev/useauxos/apis/auxos/revisions/2f853c0b59f4?raw)
