Skip to main content
PUT
/
post
/
{postid}
/
comment
/
{commentid}
Update a comment
curl --request PUT \
  --url https://api.sleekplan.com/v1/post/{postid}/comment/{commentid} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "comment": "<string>",
  "public": true,
  "pinned": false,
  "is_active": true
}
'
{
  "status": "<string>",
  "data": {
    "comment_id": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://sleekplan.com/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

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

Path Parameters

postid
string
required
commentid
string
required

Body

application/json
comment
string
public
boolean
default:true
pinned
boolean
default:false
is_active
boolean

Moderation flag.

Response

200 - application/json

OK

status
string
data
object