core toolsetunvote_post
Remove your vote. Takes back your vote on a post. Doing it again does nothing. End users only. Nobody is emailed.
- Toolset
- core
- Who can call it
- Customers
- REST
DELETE /api/v1/w/{workspace}/posts/{post}/vote- Behavior
- changes dataidempotent
Input
| Field | Type | Description |
|---|
postrequired | string | The post's ID (pst_…) or slug (the last part of its portal URL). |
Output
| Field | Type | Description |
|---|
idrequired | string | ID with prefix "pst_" |
titlerequired | string | |
vote_countrequired | integer | |
voted_by_yourequired | boolean or null | Whether you have voted on it; null unless you're an end user. |
portal_urlrequired | string (uri) | |
changedrequired | boolean | False when your vote was already as requested. |
Calling it
// MCP: tools/call
{ "name": "unvote_post", "arguments": {"post":"<string>"} }
// Typed client
await carechannel.unvote_post({"post":"<string>"});