Delete Contact Group

DELETE
https://reloop.sh/api/contacts/group/:group_id

Path Parameters

group_idstringRequired

Group ID

Body Parameters

contact_idstring

Contact ID

emailstring

Contact email address

import { Reloop } from "reloop-email";

const reloop = new Reloop({ apiKey: "rl_123456789" });

const { response, error } = await reloop.contacts.groups.removeContact("grp_123456789", { contact_id: "con_123456789" });
if (error) throw error;
{
  "success": true,
  "object": "contact",
  "id": "cont_123456789",
  "event": "contact.update"
}

Was this page helpful?

Edit this page