The following macros are not currently supported in the header:
- style
DELETE /contacts/:id
The following endpoint deactivate a contact.
Resource URL
DELETE /contacts/:id
ANY /contacts/:id?_method=deleteThis 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
DELETE /contacts/1.json
ANY /contacts/1.json?_method=delete{
"meta" : {
"status" : "ok",
"message" : "Everything executed as expected."
}
}