Delete
/membership/delete
Deletes an existing membership (meaning the user is unsubscribed from the group). This call differs from the unsubscribe method in that the user is not notified about the unsubscription
Query parameters
userId
integer (int64) Required
ID of the user.
groupId
integer (int64) Required
ID of the group.
Responses
204
Example response:
{
"userId": 18076325029,
"groupId": 1800116178,
"attributes": []
}
400
userId and groupId are mandatory, but are missing or incorrect. / User with id does not exist. / Group with id does not exist.
404
Error response: {
"errorActor": "CLIENT",
"errorCode": "INVALID_REQUEST",
"message": "Not Found"
}