1. Contacts
  2. Delete Contacts

Contacts

Delete Contacts

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

Delete Contact

DELETE
`/v1/contacts/:contact`

Delete a single contact using its id.

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