Idea comments API

Idea comments can appear in ideas portals.

Mark an idea comment as spam

PUT /api/v1/idea_comments/:id

Parameters
NameDescription
id *

Numeric ID of the idea comment

spam

Whether the comment is considered spam. Must be 'true' or 'false'

Example request

PUT /api/v1/idea_comments/622085811

Example CURL command

curl "https://company.aha.io/api/v1/idea_comments/622085811" -d '{"idea_comment":{"spam":"true"}}' -X PUT \
	-H "Authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76" \
	-H "Content-Type: application/json" \
	-H "Accept: application/json"

Request

authorization: Bearer 584b6d6b83405011f8c6903d2379f4afdf824cef867db391b7bcb5995f603a76
contentType: application/json
accept: application/json

Request body

Response

Status: 200 OK
contentType: application/json; charset=utf-8

Response body