« Back to Documentation Overview

delete_contact

Section: Contacts
Version: 1.5.0


Delete contact.


Parameters
stringAPI_KEY
object
stringcontactCONTACT_ID
stringmessageMESSAGE_ID
Return Value
integerdeleted1

Example Request JSON

[
    "API_KEY",
    {
        "contact": "CONTACT_ID",
        "message": "MESSAGE_ID"
    }
]

Example Response JSON

{
    "deleted": 1
}
API-wide Errors
API key verification failed API key verification failed
API client IP not allowed API client IP not allowed
Invalid params Attribute params must be reference to hash