---
title: "Xóa tin tức"
method: DELETE
path: "/admin/news/{postId}"
tags: ["Admin"]
---

# Xóa tin tức

`DELETE /admin/news/{postId}`

## Path parameters

- `postId` integer, required

## Request body

- FireAntApiModelsAlertsAdminNewsRequest
  - `userName` string
  - `post` FireAntApiModelsPostsPostChangeRequest — Yêu cầu đăng/sửa bài
    - `approved` boolean — Approved?
    - `date` string, date-time — Ngày đăng tin
    - `title` string — Tiêu đề
    - `description` string — Mô tả
    - `type` integer — Loại (0: Bài viết mạng xã hội, 1: Tin tức)
    - `videoUrl` string — Đường dẫn video
    - `videoThumbnailUrl` string — Đường dẫn thumbnail video
    - `videoWidth` integer — Chiều rộng video
    - `videoHeight` integer — Chiều cao video
    - `language` string — Ngôn ngữ
    - `expertUserID` string — User name của chuyên gia
    - `postGroupID` integer — ID của nhóm
    - `postSourceID` integer — ID của nguồn tin
    - `isSourceContentFull` boolean — Đầy đủ nội dung từ tin nguồn?
    - `postSourceUrl` string — Đường dẫn tin nguồn
    - `isTop` boolean — Bài viết TOP
    - `content` string — Nội dung
    - `link` string — Liên kết
    - `linkTitle` string — Tiêu đề liên kết
    - `linkDescription` string — Mô tả liên kết
    - `linkImage` string — Ảnh liên kết
    - `roomID` integer — ID của nhóm chứa bài viết
    - `referToPostID` integer — Tham chiếu tới bài viết
    - `replyToPostID` integer — Trả lời cho bài viết
    - `sentiment` integer — Đánh giá bài viết (-1 =&gt; Tiêu cực, 0 =&gt; Bình thường, 1 =&gt; Tích cực)
    - `images` FireAntApiModelsPostsPostImage[] — Danh sách ảnh đính kèm bài viết (ImageID = 0 cho file mới, ImageID &gt; 0 với file cũ)
      - `imageID` integer
      - `base64Image` string
      - `imageUrl` string
    - `files` FireAntApiModelsPostsPostFile[] — Danh sách tài liệu đính kèm bài viết (FileID = 0 cho file mới, FileID &gt; 0 với file cũ)
      - `fileID` integer
      - `fileName` string
      - `fileExtension` string
      - `base64Content` string
      - `fileContentUrl` string
    - `symbols` string[] — Mã chứng khoán được tag trong nội dung
    - `individuals` integer[] — Cá nhân được tag trong nội dung
    - `hashTags` integer[] — Hashtag được tag trong nội dung
    - `users` string[] — User được tag trong nội dung
    - `videoType` integer — Loại video (0: Short, 1: Long)
    - `isVideo` boolean — Bài viết video
    - `isEmagazine` boolean — Bài viết là e-magazine
    - `isInfographic` boolean — Bài viết là infographic
    - `newsType` integer
    - `summary` string
    - `isLivestream` boolean
    - `streamingUrl` string
    - `streamingKey` string
    - `youtubeStreamingUrl` string
    - `youtubeStreamingKey` string
    - `facebookStreamingUrl` string
    - `facebookStreamingKey` string
    - `livestreamAction` boolean
    - `livestreamActionTitle` string
    - `livestreamActionUrl` string
    - `livestreamActionRoute` string
    - `repliesDisabled` boolean
    - `repliesModerationRequired` boolean
    - `pendingApproval` boolean
    - `isAIGenerated` boolean
    - `contentURL` string
    - `hasSummary` boolean

## Response `200`

Thành công

- integer

## Other responses

- `400` — Có lỗi khi thực hiện thao tác
- `401` — Không có quyền thực hiện hành động

---

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