Delete comment

Deletes a comment and all its replies.

Authentication

This endpoint requires authentication via API Key in the Authorization header.

Authorization: <your-api-key>

Action Parameter

This endpoint uses the query parameter action=comment to identify the operation.

DELETE /video-review/{video_id}/{comment_id}?action=comment

Behavior

  • Deleting a parent comment also deletes all linked replies
  • This action is irreversible
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

DELETE /video-review/{video_id}/{comment_id}

Deletes a comment from the owner side. Replies under it are removed as well.

📘

Authorization

Requires a valid API Key in the Authorization header. Send the key directly — no Bearer prefix.

🚧

Use the canonical path — no /comments/ in the middle

The Private API extracts [video_id, id] positionally from the path. The canonical form used by the dashboard is DELETE /video-review/{video_id}/{comment_id}?action=comment.

Sending DELETE /video-review/{video_id}/comments/{comment_id} is incorrect — the gateway would treat the literal "comments" as the comment id and the delete would silently target a non‑existent record. Always use /video-review/{video_id}/{comment_id} directly with ?action=comment.

HTTP Method & Path

DELETE /video-review/{video_id}/{comment_id}?action=comment

Base URL: https://api-v2.pandavideo.com.br

Path Parameters

NameTypeRequiredDescription
video_idstring (uuid)yesVideo UUID.
comment_idstring (uuid)yesComment UUID.

Query Parameters

NameTypeRequiredDescription
actionstringyesMust be comment.

Response

Success Response (200)

{ "msg": "success removed!" }
⚠️

Cascade. Deleting a top‑level comment also deletes all its replies. This is irreversible.

Error Responses

  • 401 — missing/invalid API Key.
  • 404 — user, video or comment not found.
  • 500 — internal error.

Example Usage

cURL

curl --request DELETE \
  --url 'https://api-v2.pandavideo.com.br/video-review/a1b2c3d4-e5f6-7890-abcd-ef1234567890/b2c3d4e5-f6a7-8901-bcde-f23456789012?action=comment' \
  --header 'Authorization: <your-api-key>'

Recipes

Path Params
uuid
required

Video UUID

uuid
required

Comment UUID

Query Params
string
enum
required

Action type (must be "comment" for this operation)

Allowed:
Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json