Insert a Person on the Blacklist

post
Push a Person to the Blacklist

https://api.w3lcome.com/v1/blacklist
This endpoint allows you to add a person to the blacklist
Request
Response
Headers
Content-Type
required
string
application/json
Authentication
required
string
Basic token
Body Parameters
id
optional
string
You can send an id or it will be generated automatically
name
optional
string
reason
optional
string
phone
optional
string
email
optional
string
document
optional
string
cpf
optional
string
Must be a valid CPF
rg
optional
string
200: OK
Success
{
"id": "dc08c9dc-7aaa-4356-8268-f265b91a1624",
"name": "Alisson Enz Rossi",
"type": "blacklist",
"email": "alisson@w3lcome.com",
"phone": "43999820420",
"cpf": "99999999999",
"rg": "11111111"
}
400: Bad Request
Error
{
"type": "ALREADY_EXISTS"
}