Exclude Face
curl --request POST \
--url https://api.deepidv.com/v1/igaming/self-exclusion/faceimport requests
url = "https://api.deepidv.com/v1/igaming/self-exclusion/face"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.deepidv.com/v1/igaming/self-exclusion/face', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.deepidv.com/v1/igaming/self-exclusion/face",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.deepidv.com/v1/igaming/self-exclusion/face"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.deepidv.com/v1/igaming/self-exclusion/face")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deepidv.com/v1/igaming/self-exclusion/face")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"excluded": true,
"session_id": "b8991ba9-2566-4fe5-b758-66f387c3e28b"
}
{
"excluded": false,
"reason": "no_enrolled_face"
}
iGaming Self-Exclusion & Management
Exclude Face
Flag a session’s enrolled face as excluded
POST
/
v1
/
igaming
/
self-exclusion
/
face
Exclude Face
curl --request POST \
--url https://api.deepidv.com/v1/igaming/self-exclusion/faceimport requests
url = "https://api.deepidv.com/v1/igaming/self-exclusion/face"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.deepidv.com/v1/igaming/self-exclusion/face', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.deepidv.com/v1/igaming/self-exclusion/face",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.deepidv.com/v1/igaming/self-exclusion/face"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.deepidv.com/v1/igaming/self-exclusion/face")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.deepidv.com/v1/igaming/self-exclusion/face")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"excluded": true,
"session_id": "b8991ba9-2566-4fe5-b758-66f387c3e28b"
}
{
"excluded": false,
"reason": "no_enrolled_face"
}
POST /v1/igaming/self-exclusion/face
DUPLICATE and has no enrollment of its own, the flag falls back to the matched original enrollment, so the physical face is still blocked.
Request
Headers
| Header | Required | Description |
|---|---|---|
x-api-key | Yes | Your API key |
Content-Type | Yes | application/json |
Body parameters
Field names are snake_case only — there are no camelCase aliases.| Parameter | Type | Required | Description |
|---|---|---|---|
session_id | string | Yes | The session whose enrolled face to exclude |
reason | string | No | Free-text reason for the exclusion |
Example request
curl -X POST https://api.deepidv.com/v1/igaming/self-exclusion/face \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"session_id": "b8991ba9-2566-4fe5-b758-66f387c3e28b",
"reason": "self-requested exclusion"
}'
const response = await fetch(
"https://api.deepidv.com/v1/igaming/self-exclusion/face",
{
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY",
},
body: JSON.stringify({
session_id: "b8991ba9-2566-4fe5-b758-66f387c3e28b",
reason: "self-requested exclusion",
}),
}
);
const data = await response.json();
import requests
response = requests.post(
"https://api.deepidv.com/v1/igaming/self-exclusion/face",
headers={
"Content-Type": "application/json",
"x-api-key": "YOUR_API_KEY",
},
json={
"session_id": "b8991ba9-2566-4fe5-b758-66f387c3e28b",
"reason": "self-requested exclusion",
},
)
Response
200 — Success
| Field | Type | Description |
|---|---|---|
excluded | boolean | Whether the face was successfully flagged |
session_id | string | The session ID — present on success |
reason | string | no_enrolled_face when nothing could be flagged |
matched_session_id | string | Present only when the matched-enrollment fallback was used |
Error responses
| Status | Description |
|---|---|
400 Bad Request | Missing or malformed session_id |
401 Unauthorized | Invalid or revoked API key |
403 Forbidden | x-api-key header missing |
500 Internal Server Error | Unexpected server error |
{
"excluded": true,
"session_id": "b8991ba9-2566-4fe5-b758-66f387c3e28b"
}
{
"excluded": false,
"reason": "no_enrolled_face"
}