Repository navigation
Delete Published File Comment
Revadike edited this page Oct 16, 2026
·
1 revision
Deletes (or restores) a comment on a published file (workshop item).
No known rate limit
Authenticated: Yes
Method:
POSTHost:
steamcommunity.comPath:
/comment/PublishedFile_Public/delete/:steamid/:sharedfileidVariables:
Name Type Description :steamidstring The 64-bit SteamID of the file's author :sharedfileidstring The ID of the shared file Form Data:
Name Type Required Description gidcommentstring Yes The 64-bit ID of the comment sessionidstring Yes The value of the sessionidcookiestartnumber No The starting offset (page position) countnumber No The number of comments per page (page size) feature2number No The secondary feature ID. -1for published file comments.undeletenumber No When 1, restores the comment instead of deleting itextended_datastring No The JSON-encoded shared-file metadata echoed back from the page extended_data.contributors[]array No Array of contributor SteamIDs extended_data.appidnumber No The Steam AppID of the shared file extended_data.sharedfileobject No Bundle/collection details of the shared file extended_data.sharedfile.m_parentsDetailsobject No Details of the parent collection(s) ( nullif none)extended_data.sharedfile.m_parentBundlesDetailsobject No Details of the parent bundle(s) ( nullif 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_reportedboolean No Whether the parent item was reported
Name Type Description successboolean Whether the request was successful errorstring The error message. Only when the request failed. comments_htmlstring HTML of the comments, re-rendered. Only on success. total_countnumber The total number of comments pagesizenumber The page size startnumber The starting offset (page position)
POST https://steamcommunity.com/comment/PublishedFile_Public/delete/76561198002826921/155101824/ { gidcomment: "0", sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", count: 10, feature2: -1 }
{
"success": false
}