Comments
Hide or show a comment
Hide a social comment on its network, or show it again.
PATCH
Needs
comments:update, and a role in the post’s workspace that can edit comments. See Permissions."hidden": false shows it again. Left out, hidden is true. A hide never deletes.
A network that can’t do it is refused with
422 before anything is sent, and so is a team comment. A 422 also comes back when the network didn’t do it, with its reason when it gave one. If the account needs reconnecting, a hide on Facebook, Instagram or Threads, or a show on Facebook or Instagram, answers 500. A show on Threads is refused with 422 before that (This network can't unhide comments.).
Errors
Related
- Delete a comment: remove it instead.
- Comment moderation: hide or delete comments by rule.
Authorizations
Body
application/json
true hides it, false shows it again.
Response
Done on the network.
An error answer. Every one has message, in plain words; some add an error code and fields of their own.
A code a few errors add, such as rate_limited. See Handle errors.