1. Groups
  2. Delete Groups

Groups

Delete Groups

You can delete contacts using standard REST endpoint and delete a contact with its id.

Delete Group

DELETE
`/v1/groups/:group`

Delete a single group using its id.

js
        const response = await fetch("https://api.packagex.io/v1/group/grp_rEMzyCyxJzuBzN4LyurAJV", {
  method: "GET",
  headers: {
    "PX-API-KEY": process.env.PX_API_KEY,
    "Content-Type": "application/json",
  },
});