Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Description

Adds new entries (email, email domain or mobile number) to the system blacklist.

Request path

POST [REST URL]/blacklist/createSystemEntries

Query Parameters

Parameter

Type

Description

groupId

Long

ID of the group, not necessary for system-wide blacklists

Request Body Type

list of BlacklistEntry

Example body 1

Code Block
[{
"type": "EMAIL",
 "pattern": "test@test.com"
}]


Example body 2
Code Block
[{
"type": "PHONE_NUMBER",
"pattern": "336789012345"
}]


Example response

Code Block
[{
    "success": true,
    "id": "test@test.com",
    "errorActor": null,
    "errorCode": null,
    "errorMessage": null
}]