Delete a person and all information related to them, including:
DELETE /v1/people/{PERSON_IDENTIFIER}
curl https://api.delighted.com/v1/people/email:jony@appleseed.com \
-u YOUR_DELIGHTED_API_KEY: \
-X DELETE
Delighted::Person.delete(email: "jony@appleseed.com")
delighted.person.delete({ email: "jony@appleseed.com" });
delighted.Person.delete(email="jony@appleseed.com")
\Delighted\Person::delete(array("email" => "jony@appleseed.com"));
{
"ok": true
}
Upon successfully requesting the deletion of the specified person, this endpoint will return an HTTP response code of 202
.
Name | Type | Description |
---|---|---|
id
|
String |
You can specify the person to delete by ID, email, or phone number (in E.164 format):
|