Skip to main content
DELETE
Delete a comment
Needs comments:delete, and a role in the post’s workspace that can delete comments. See Permissions.
A team or share-link comment is deleted in PostSyncer: your own, or one a client wrote. An APPROVAL note isn’t deleted: the answer is still 200 Comment deleted successfully. A SOCIAL comment stays in PostSyncer, with is_deleted_on_platform: true when the network removed it, or is_hidden_on_platform: true when it was hidden instead. On Bluesky, someone else’s reply is marked deleted though it stays up: see the table. If the account needs reconnecting, a delete on Facebook, Instagram, Threads, LinkedIn or Mastodon answers 422 with Token expired or platform post not found; on X, YouTube and Bluesky it answers 200. Every 200 says Comment deleted successfully, so get the comment to see what happened.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

comment
integer
required

The comment's id.

Response

Done, or not done on that network (see above): the message is the same.

An error answer. Every one has message, in plain words; some add an error code and fields of their own.

message
string
required

What went wrong and what to do about it.

error
string

A code a few errors add, such as rate_limited. See Handle errors.