Skip to content

Delete Published File Comment

Revadike edited this page Oct 16, 2026 · 1 revision

POST /comment/PublishedFile_Public/delete/:steamid/:sharedfileid

Deletes (or restores) a comment on a published file (workshop item).

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /comment/PublishedFile_Public/delete/:steamid/:sharedfileid

Variables:

Name Type Description
:steamid string The 64-bit SteamID of the file's author
:sharedfileid string The ID of the shared file

Form Data:

Name Type Required Description
gidcomment string Yes The 64-bit ID of the comment
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 No The secondary feature ID. -1 for published file comments.
undelete number No When 1, restores the comment instead of deleting it
extended_data string No The JSON-encoded shared-file metadata echoed back from the page
extended_data.contributors[] array No Array of contributor SteamIDs
extended_data.appid number No The Steam AppID of the shared file
extended_data.sharedfile object No Bundle/collection details of the shared file
extended_data.sharedfile.m_parentsDetails object No Details of the parent collection(s) (null if none)
extended_data.sharedfile.m_parentBundlesDetails object No Details of the parent bundle(s) (null if none)
extended_data.sharedfile.m_bundledChildren[] array No Bundled child items
extended_data.sharedfile.m_ownedBundledItems[] array No Owned bundled items
extended_data.parent_item_reported boolean No Whether the parent item was reported

Response

200 OK

Name Type Description
success boolean Whether the request was successful
error string The error message. Only when the request failed.
comments_html string HTML of the comments, re-rendered. Only on success.
total_count number The total number of comments
pagesize number The page size
start number The starting offset (page position)

Example

POST https://steamcommunity.com/comment/PublishedFile_Public/delete/76561198002826921/155101824/ { gidcomment: "0", sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", count: 10, feature2: -1 }
{
    "success": false
}

Clone this wiki locally