zulip/templates/zerver/api/remove-reaction.md
orientor d8ef853545 openapi: Make api-docs filename match with operationIds.
api docs filenames are basically the operationId of their endpoint
in zulip.yaml with `_` replaced by `-`. But some operationIds have
changed, so change the affected filenames. Make changes in other
files accordingly.
2020-06-18 22:38:05 -07:00

632 B

Remove an emoji reaction

{generate_api_description(/messages/{message_id}/reactions:delete)}

Usage examples

{start_tabs} {tab|python}

{generate_code_example(python)|/messages/{message_id}/reactions:delete|example}

{tab|curl}

{generate_code_example(curl, exclude=["emoji_code", "reaction_type"])|/messages/{message_id}/reactions:delete|example}

{end_tabs}

Parameters

{generate_api_arguments_table|zulip.yaml|/messages/{message_id}/reactions:delete}

Response

Example response

A typical successful JSON response may look like:

{generate_code_example|/messages/{message_id}/reactions:delete|fixture(200)}