Comments

Reject comment

Reject a comment.

post/v1/comments/{commentId}/reject

Request

  • Base URL
    https://platform.hootsuite.com
  • URL
    https://platform.hootsuite.com/v1/comments/{commentId}/reject
  • Auth
    OAuth 2
    Authorization code: https://platform.hootsuite.com/oauth2/auth
    Token URL: https://platform.hootsuite.com/oauth2/token

Path parameters

commentIdstring required

The comment ID.

Headers

Authorizationstring required

A bearer token string used for authentication

Request body

reasonstring required

The rejection reason to be displayed to the creator of the comment.

sequenceNumberinteger required

The sequence number of the comment being rejected.

reviewerType'EXTERNAL' | 'MEMBER'

The actor that will be rejecting the comment. Leaving this field empty will use "EXTERNAL" by default.

Using "MEMBER" requires that you use a member token to reject a comment that is pending approval by that member.

Example request

{
  "reason": "Message contains profanity",
  "sequenceNumber": 11
}

Response

Success

dataobject

The data response envelope.

Changes

No recorded changes to this operation across all 1 revision of this API.