Developer Docs

Table of contents

Delete a contact from the list

Performs the removal of contact from the list. The action can be single (string) or bulk (array).

To delete a contact from the list, make a request to this URL:

POST http://one-api.bsg.world/api/groups/detach

Request parameters:

ParameterRequiredTypeDescription 
contactsYesarrayContacts IDs, minimum 1, maximum 200.
groupsYesarrayContact lists IDS, minimum 1, maximum 20.

Request sample:

{
  "contacts": [
    44333
  ],
  "groups": [
    48718
  ]
}

Response parameters:

If the request is successful, you will get a 200 Successful deleted.

If the request fails, an error object will be returned.