Link Search Menu Expand Document

Updated Fri Jun 18th 2021, 16:17 UTC

Removing a Contact

DELETE /:account/contacts/:contact

Allows a contact to be removed

Examples

Removing one contact by contact ID

Request

DELETE /my_account/contacts/qBB9gaG

Body

{
  "contact":  "/contacts/qBB9gaG"
}
Example
$ curl -i -H Accept:"application/vnd.textus+jsonld" \
    -H Authorization:"Bearer {token}" \
    -X DELETE /my_account/contacts/qBB9gaG
     -d '{json: "body"}' 

Response

Status

204

Response Type

No body


© 2021 TextUs