1. Contacts
  2. Delete Contacts

Contacts

Delete Contacts

You can delete a contact using the standard REST endpoint 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/contacts/contact_rEMzyCyxJzuBzN4LyurAJV", {
  method: "DELETE",
  headers: {
    "PX-API-KEY": process.env.PX_API_KEY,
    "Content-Type": "application/json",
  },
});