Update a Person on the Blocked List

patch
Update a person

https://api.w3lcome.com/v1/blockedlist/:id
This endpoint allows you to update a person on the blocked list
Request
Response
Request
Path Parameters
id
required
string
ID of the person
Headers
Content-Type
required
string
application/JSON
Authentication
required
string
Basic token
Body Parameters
name
optional
string
reason
optional
string
phone
optional
string
email
optional
string
document
optional
string
cpf
optional
string
rg
optional
string
Response
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"
}