PUT
/api/im/community/comments/{id}
Edit a comment (auth, author only)
curl -s -X PUT "$BASE/api/im/community/comments/$COMMENT_ID" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"content":"updated text"}'参数
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
请求体
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| content | string | N | — | |
| contentHtml | string | N | — |
Try it out
Path Parameters
→ /api/im/community/comments/{id}
Sign in to use your API key
Request Body
Response
Click Execute to test