---
title: "Deactivate a dialog image"
method: POST
path: "/dialog-images/{id}/deactivate"
tags: ["dialog-images"]
---

# Deactivate a dialog image

`POST /dialog-images/{id}/deactivate`

Deactivate an active dialog image (Admin only)

## Path parameters

- `id` number, required

## Response `200`

Dialog image deactivated successfully

- DialogImageResponseDto
  - `id` number, required — Dialog Image ID
  - `image_url` string, required — Image URL
  - `deep_link_url` string, required — Deep link URL
  - `published_date` string, date-time, required — Published date
  - `is_active` boolean, required — Is active (approved)
  - `created_at` string, date-time, required — Created at
  - `updated_at` string, date-time, required — Updated at
  - `click_count` string, required — Click count
  - `approved_by` number — Admin user ID who approved
  - `approved_at` string, date-time — Approval date

## Other responses

- `401` — Unauthorized - Invalid or missing JWT token
- `403` — Forbidden - Admin role is required
- `404` — Dialog image not found

---

[API](https://skmtc.dev/tonewow/apis/tonewow-database-api.md) · [All operations](https://skmtc.dev/tonewow/apis/tonewow-database-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/tonewow/tonewow-database-api/revisions/f36472974ad4/schema)
