Update a Person on the Blacklist

patch
Update a person on the Blacklist

https://api.w3lcome.com/v1/blacklist/:id
This endpoint allows you to update a person on the blacklist
Request
Response
Path Parameters
id
required
string
ID of the person
Headers
Content-Type
required
string
application/json
Authentication
required
string
Authentication token to track down who is emptying our stocks.
Body Parameters
name
optional
string
reason
optional
string
phone
optional
string
email
optional
string
document
optional
string
cpf
optional
string
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"
}
404: Not Found
Error
{
"type": "NOT_FOUND"
}