Remover Biometria via UserID
O comando abaixo permite remover a biometria via UserID.
Requisição - GET
http://192.168.1.201/cgi-bin/AccessFingerprint.cgi?action=removeMulti&UserIDList[0]=5
param | type | description |
---|---|---|
removeMulti * | Number | Comando para Remover Digital do Usuário |
UserIDList * | Number | UserID (s) |
Exemplo de Retorno - text/plain
OK
Exemplos
import requests
device_ip = '10.1.35.144'
username = 'admin'
password = 'acesso1234'
url = "http://{}/cgi-bin/AccessFingerprint.cgi?action=removeMulti&UserIDList[0]=5".format(
str(device_ip),
)
digest_auth = requests.auth.HTTPDigestAuth(username, password)
rval = requests.get(url, auth=digest_auth, stream=True, timeout=20, verify=False)
print(rval.text)