Remove Reaction from Content
Remove a previously added emoji reaction from a content item (post).
Endpoint
DELETE /api/content/:id/react
Authentication
Required. The request must include a valid authentication token.
Path Parameters
| Parameter | Type | Description |
|---|---|---|
id | integer | The content item ID |
Request Body
| Parameter | Type | Required | Description |
|---|---|---|---|
emoji | string | Yes | The emoji identifier (see supported emoji) |
Response
Success Response
Status Code: 200 OK
{
"success": true
}
Error Responses
| Status Code | Body |
|---|---|
| 400 | { "error": "Emoji is required" } |
| 401 | Unauthorized |
| 403 | Forbidden — no access to content |
| 404 | Content not found |
Example
Request
curl -X DELETE "https://api.tribesocial.io/api/content/4212/react" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_AUTH_TOKEN" \
-d '{ "emoji": "heart" }'
Response
{
"success": true
}