You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# error handling if true then the request was HTTP 204, so successful
if(req.status_code==204):
print("SUCCESS: the following domain is deleted from your current custom Block List: %(domain)s"%{'domain': deleteDomain})
else:
print("An error has ocurred with the following code %(error)s, please consult the following link: https://enforcement-api.readme.io/"% {'error': req.status_code})