Remove a domain from the blacklist
http://api.kopeechka.store/domain-exclude-blacklist?token=$TOKEN&domain=$DOMAIN&site=$SITE&type=$TYPE&api=2.0
$SITE - The site to which the blacklist belongs.
$DOMAIN - The domain that we want to remove from the blacklist.
$TOKEN - Your API key from kopeechka.store
$TYPE - Specify in what form to give the answer (JSON (by default) / TEXT )
✅ Answer:
JSON
{"status":"OK"}
TEXT
OK
❌ Possible errors:
Invalid token
JSON
{"status":"ERROR","value":"BAD_TOKEN"}
TEXT
ERROR|BAD_TOKEN
Invalid site
JSON
{"status":"ERROR","value":"BAD_SITE"}
TEXT
ERROR|BAD_SITE
We do not have such a domain/domain zone.
JSON
{"status":"ERROR","value":"BAD_DOMAIN"}
TEXT
ERROR|BAD_DOMAIN
This domain is not on the blacklist.
JSON
{"status":"ERROR","value":"DOMAIN_NOT_IN_BLACK_LIST"}
TEXT
ERROR|DOMAIN_NOT_IN_BLACK_LIST
Have you figured it out? Rather try :)