cURL
curl --request PATCH \ --url https://api.mclicense.org/blacklists/{id} \ --header 'Content-Type: application/json' \ --header 'MCL-Key: <api-key>' \ --data ' { "ip": "<string>", "reason": "<string>" } '
{ "ip": "<string>", "_id": "<string>", "reason": "<string>", "createdAt": "2023-11-07T05:31:56Z" }
Updates the IP address or reason for an existing blacklist entry
API key must start with 'mcl_'
Blacklist entry updated
Blacklisted IPv4 address
Unique identifier for the blacklist entry
Optional reason for blacklisting
Timestamp when the entry was created