---
title: "Delete question only if no active quiz is present."
method: DELETE
path: "/v1/quizzes/{quiz_id}/questions/{question_id}"
tags: ["Question"]
---

# Delete question only if no active quiz is present.

`DELETE /v1/quizzes/{quiz_id}/questions/{question_id}`

## Path parameters

- `quiz_id` string, required
- `question_id` string, required

## Response `200`

- object
  - `message` string
  - `status` string

## Other responses

- `400` — Fail due to resource not exists
- `401` — Server understand request but refuse to authorize it
- `500` — Unexpected error occurred

## Changes

- **2024-10-21** `705c47620f3a` — 1 info
  - endpoint added
- **2024-02-08** `a2179d15ad2f` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/improwised/apis/untitled-api/changes/v1/quizzes/:quiz_id/questions/:question_id/delete.md)

---

[API](https://skmtc.dev/improwised/apis/untitled-api.md) · [All operations](https://skmtc.dev/improwised/apis/untitled-api/llms.txt) · [OpenAPI document](https://skmtc.dev/improwised/apis/untitled-api/revisions/15ae2821b57b?raw)
