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
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
DELETE /video-review/{video_id}/{comment_id}
{video_id}/{comment_id}Deletes a comment from the owner side. Replies under it are removed as well.
AuthorizationRequires a valid API Key in the
Authorizationheader. Send the key directly — noBearerprefix.
Use the canonical path — no/comments/in the middleThe Private API extracts
[video_id, id]positionally from the path. The canonical form used by the dashboard isDELETE /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
| Name | Type | Required | Description |
|---|---|---|---|
video_id | string (uuid) | yes | Video UUID. |
comment_id | string (uuid) | yes | Comment UUID. |
Query Parameters
| Name | Type | Required | Description |
|---|---|---|---|
action | string | yes | Must 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>'