Skip to main content
POST
/
contacts
/
bulk-delete
Bulk delete contacts
curl --request POST \
  --url https://api-message.nativehub.live/api/v1/contacts/bulk-delete \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "ids": [
    "c9d0e1f2-a3b4-5678-cd90-123456789012",
    "d0e1f2a3-b4c5-6789-de01-234567890123"
  ]
}
'
{
  "deleted": 2
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ids
string<uuid>[]
required

Response

200 - application/json

Contacts deleted successfully

deleted
integer