channels
messenger
audiences-messenger

Remove users from audience

Remove users from a custom audience. Accepts the same hashed user data as the upload endpoint. Maximum 10,000 users per request.

delete/messenger/1/audiences/{audienceId}/users

Request

  • Base URL
    https://api.infobip.com (the document declares no server; this is the origin it was published from)
  • Auth
    • OAuth 2
      Client credentials
      Token URL: https://api.infobip.com/auth/1/oauth2/token
    • or API key in header Authorization
    • or API key in header Authorization
    • or HTTP basic

Path parameters

audienceIdstring required

Meta custom audience ID.

Request body

Example request

{
  "data": [
    {
      "phone": "d6736136ea896c1bfdc553e0e86e702c70d060d805696ca3e4e9e0961353860a",
      "email": "b4c9a289323b21a01c3e940f150eb9b8c542587f1abfd8f0e1cc1ffc5e475514"
    }
  ]
}

Response

Users removed successfully.

audienceIdstring

Meta custom audience ID.

numReceivedinteger

Number of entries received.

numInvalidEntriesinteger

Number of invalid entries.

Example response

{
  "audienceId": "52512562968362",
  "numReceived": 1,
  "subscriptionInfo": {
    "numSubscribersReceived": 1
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.