Delete

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 '{
  "contact":  "/contacts/qBB9gaG"
}'

Response

Status

204

Response Type

No body


© 2024 TextUs