From 3c8f219a020a653b990a56e28d6ed66bb58ab997 Mon Sep 17 00:00:00 2001 From: Luca Orlandi Date: Fri, 1 Mar 2024 17:45:04 +0100 Subject: [PATCH] Update _contacts-delete.md Removed command line continuation on curl --- guides/_contacts-delete.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/_contacts-delete.md b/guides/_contacts-delete.md index c68d3fd..df4d70b 100644 --- a/guides/_contacts-delete.md +++ b/guides/_contacts-delete.md @@ -217,7 +217,7 @@ Save the contact ID - you need it to complete the deletion process. curl -s \ -X DELETE \ --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \ -https://api.mailjet.com/v4/contacts/{contact_ID} \ +https://api.mailjet.com/v4/contacts/{contact_ID} ``` 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. @@ -229,7 +229,7 @@ Use the `{contact_ID}` you retrieved to `DELETE` the contact with the `/v4/conta curl -s \ -X GET \ --user "$MJ_APIKEY_PUBLIC:$MJ_APIKEY_PRIVATE" \ -https://api.mailjet.com/v3/REST/contact/{contact_ID} \ +https://api.mailjet.com/v3/REST/contact/{contact_ID} ``` > API Response