擅长:python、mysql、java
<p><a href="https://dev.mailjet.com/reference/email/contacts/contact/" rel="nofollow noreferrer">API reference</a>似乎尚未使用DELETE方法更新,但在<a href="https://dev.mailjet.com/guides/#gdpr-delete-contacts" rel="nofollow noreferrer">API guides</a>下似乎有关于如何删除联系人的信息:</p>
<blockquote>
<p><strong>Retrieve a Contact</strong></p>
<p>To delete a contact, you must first identify its presence in the contact database of your account.</p>
<p>Use GET /contact/$CONTACT_EMAIL to do it.</p>
</blockquote>
<pre><code>curl -s \
-X GET \
user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \
https://api.mailjet.com/v3/REST/contact/$CONTACT_EMAIL
</code></pre>
<blockquote>
<p><strong>Delete the Contact</strong></p>
<p>Use the {contact_ID} you retrieved to DELETE the contact with the /v4/contacts/{contact_ID} endpoint. When the deletion is successful, the API will return a 200 OK status. Any other response will indicate that the deletion was not successfully processed.</p>
</blockquote>
^{pr2}$