DELETE
/
api
/
v2
/
reactions
remove reaction from any document.
curl --request DELETE \
  --url https://apix.us.amity.co/api/v2/reactions \
  --header 'Authorization: Bearer <token>'
{
  "removedId": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

referenceId
string
required

Reference id

Maximum length: 900
referenceType
enum<string>
required

Reference type

Available options:
message,
post,
comment,
story
reactionName
string

Reaction name

Maximum length: 100
referenceVersion
integer

The API version of the document (Ex. If using with message v5, the referenceVersion will be 5)

Response

200
application/json

Returns a reaction id is removed

The response is of type object.