Destroy

Delete a contact

Delete a certain contact by it's unique id.

POSThttp://127.0.0.1:8888/api/contacts/{id}/destroy
Path parameters
id*all of

The unique ID of contact.

Response

No Content

Request
const response = await fetch('http://127.0.0.1:8888/api/contacts/{id}/destroy', {
    method: 'POST',
    headers: {},
});
const data = await response.json();