/membership/unsubscribeFromMessage

Prev Next
Post
/membership/unsubscribeFromMessage

Unsubscribes a user from a group. The unsubscription is associated with a specific message. Notification is sent to the group manager.
Returns success only when the user is unsubscribed from the group and the unsubscription is associated with the specified message.

Query parameters
userId
integer (int64) Required

ID of the user.

groupId
integer (int64) Required

ID of the group.

messageId
integer (int64) Required

ID of the message.

Responses
204
400

userId, groupId and messageId are mandatory, but are missing or incorrect. / User with id does not exist. / Group with id does not exist. / Message with id does not exist. / Membership with groupId does not exist.

404

Error response: {
"errorActor": "CLIENT",
"errorCode": "INVALID_REQUEST",
"message": "Not Found"
}