Actions25
- Post Actions
- Topic Actions
- Upload Actions
Post → Unlike
AI-generatedSummary
Removes a like from a Discourse post, undoing the user's previous like action.
Inputs
- postId (required) — The ID or URL of the Discourse post to unlike. Can be provided directly as an ID or via a URL.
Output shape
a single record
Returns the updated post data. If the post was not previously liked, the API may return an error or no change.
Examples
Example 1: Remove a like from a specific post ID
Select 'ID' mode for postId and enter the numeric post ID (e.g., 123).
Example 2: Remove a like using a post URL
Select 'URL' mode for postId and paste the full post URL (e.g., https://forum.example.com/p/123).