Last active
June 25, 2022 02:19
-
-
Save symisc/7b366f4c91345847b3276eec7ff66b0d to your computer and use it in GitHub Desktop.
Programmtically delete (total purge) a Facial ID, its associated payload data, and biometrics hash from a given FACEIO application - https://faceio.net/facialid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import json | |
# Programmtically delete (total purge) a Facial ID, its associated payload data, | |
# and biometric hash from a given FACEIO application - Refer to https://faceio.net/facialid for additional information | |
req = requests.get('https://api.faceio.net/deletefacialid',params={ | |
"fid":"FACIAL_ID", # Target Facial ID to purge from this FACEIO application. Find out more information about the Facial ID on https://faceio.net/facialid | |
"key": "FACEIO_APP_API_KEY" # Your FACEIO Application API Key. Retrieve this key from the Application Manager on the console at: https://console.faceio.net | |
}) | |
reply = req.json() | |
if reply['status'] != 200: | |
print (reply['error']) | |
exit() | |
# Success | |
print("Given Facial ID, payload data, and Biometrics hash purged from this application") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment