Delete Contact
curl --request DELETE \
--url https://api.example.com/api/v1/contacts/{contact_id}import requests
url = "https://api.example.com/api/v1/contacts/{contact_id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.example.com/api/v1/contacts/{contact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}contacts
Delete Contact
Delete a contact.
DELETE
/
api
/
v1
/
contacts
/
{contact_id}
Delete Contact
curl --request DELETE \
--url https://api.example.com/api/v1/contacts/{contact_id}import requests
url = "https://api.example.com/api/v1/contacts/{contact_id}"
response = requests.delete(url)
print(response.text)const options = {method: 'DELETE'};
fetch('https://api.example.com/api/v1/contacts/{contact_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}