/membership/unsubscribeFromMessageByEmail

Prev Next
Post
/membership/unsubscribeFromMessageByEmail

Unsubscribes a user from a group based on an email address. The unsubscription is associated with a specific message. An unsubscribe confirmation email is sent to the user. Returns success only when the user is unsubscribed from the group and the unsubscription is associated with the specified message.

Query parameters
email
stringRequired

Email of the user.

groupId
integer (int64) Required

ID of the group.

messageId
integer (int64) Required

ID of the message.

Responses
204
400

email, groupId and messageId are mandatory, but are missing or incorrect. / User with email 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"
}