Skip to content

Delete Forum Topic Comment

Revadike edited this page Oct 16, 2026 · 1 revision

POST /comment/ForumTopic/delete/:groupid/:gidforum

Deletes (or restores) a comment on a forum topic (discussion).

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /comment/ForumTopic/delete/:groupid/:gidforum

Variables:

Name Type Description
:groupid number The 64-bit SteamID of the group that owns the forum
:gidforum number The 64-bit ID of the forum

Form Data:

Name Type Required Description
gidcomment string Yes The 64-bit ID of the comment to delete
sessionid string Yes The value of the sessionid cookie
start number No The starting offset (page position)
count number No The number of comments per page (page size)
feature2 number Yes The 64-bit ID of the forum topic (discussion).
undelete number No When 1, restores the comment instead of deleting it
extended_data string No The JSON-encoded forum-topic metadata echoed back from the page
extended_data.topic_permissions object No The current user's permission flags on the topic (the minimum required key)
extended_data.topic_permissions.can_view number No 1 if the user can view the topic
extended_data.topic_permissions.can_post number No 1 if the user can post to the topic
extended_data.topic_permissions.can_reply number No 1 if the user can reply to the topic
extended_data.topic_permissions.is_banned number No 1 if the user is banned from the topic
extended_data.topic_permissions.can_delete number No 1 if the user can delete comments in the topic
extended_data.topic_permissions.can_edit number No 1 if the user can edit comments in the topic
extended_data.original_poster number No The account ID of the thread author
extended_data.topic_gidanswer string No The GID of the accepted-answer comment (0 if none)
extended_data.forum_appid number No The Steam AppID of the forum
extended_data.forum_public number No 1 if the forum is public
extended_data.forum_type string No The forum type (e.g. General)
extended_data.forum_gidfeature string No The forum feature GID

Response

200 OK

Name Type Description
success boolean Whether the request was successful. false when the comment does not exist or the user is not logged in.
error string The error message. Only when the comment could not be deleted.
comments_html string HTML of the comments, re-rendered without the deleted comment. Only on success.
total_count number The total number of comments. Only on success.
pagesize number The page size. Only on success.
start number The starting offset. Only on success.

Example

POST https://steamcommunity.com/comment/ForumTopic/delete/103582791430075519/900970122682819827/ { gidcomment: "0", sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", start: 0, count: 15, feature2: 572678133316080276, extended_data: '{"topic_permissions":{"can_view":1,"can_post":1,"can_reply":1}}' }
{
    "success": false
}

Clone this wiki locally