The following endpoint deactivate a contact.
Resource URLĀ
Code Block |
---|
|
DELETE /contacts/:id
ANY /contacts/:id?_method=delete |
Info |
---|
This endpoint does NOT remove the contact from the deployment, it merely makes it inactive. Thus, it is equivalent to updating a contacts standing to inactive. To remove a contact the user must log into the web application. |
Sample Response
Code Block |
---|
|
DELETE /contacts/1.json
ANY /contacts/1.json?_method=delete |
Code Block |
---|
|
{
"meta" : {
"status" : "ok",
"message" : "Everything executed as expected."
}
} |