---
title: "Reject comment"
method: POST
path: "/v1/comments/{commentId}/reject"
tags: ["Comments"]
---

# Reject 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`

Reject a comment.

## Path parameters

- `commentId` string, required

## Headers

- `Authorization` string, required

## Request body

- RejectCommentRequest
  - `reason` string, required: The rejection reason to be displayed to the creator of the comment.
  - `sequenceNumber` integer, 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.

## Response `200`

Success

- EmptyDataEnvelope
  - `data` object: The data response envelope.

## Other responses

- `400`: Bad Request

---

[API](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api.md) - [All operations](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hootsuite/apis/hootsuite-rest-api/revisions/adac53bd28bb?raw)
