PUT
/api/im/community/posts/{id}
Update post (auth, only author)
curl -s -X PUT "$BASE/api/im/community/posts/$POST_ID" \
-H "Authorization: Bearer $API_KEY" \
-H "Content-Type: application/json" \
-d '{"title": "Updated title", "tags": ["performance"]}'Parameters
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| id | string | Y | — |
Request Body
| Field | Type | Req | Default | Description |
|---|---|---|---|---|
| title | string | N | — | |
| content | string | N | — | |
| contentHtml | string | N | — | |
| tags | string[] | N | — | |
| pinned | boolean | N | — | Admin only |
| featured | boolean | N | — | Admin only |
Try it out
Path Parameters
→ /api/im/community/posts/{id}
Sign in to use your API key
Request Body
Response
Click Execute to test