curl -X POST 'https://verification.didit.me/v3/blocklist/remove/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"session_id": "33333333-4444-5555-6666-777777777777",
"unblock_face": true,
"unblock_document": true
}'from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.blocklist.remove(
session_id="33333333-4444-5555-6666-777777777777",
unblock_face=True,
unblock_document=True,
)
print(result)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.blocklist.remove({
session_id: "33333333-4444-5555-6666-777777777777",
unblock_face: true,
unblock_document: true,
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.Blocklist.Remove(ctx, didit.BlocklistRemoveParams{
SessionID: "33333333-4444-5555-6666-777777777777",
UnblockFace: didit.Bool(true),
UnblockDocument: didit.Bool(true),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import me.didit.Didit;
import me.didit.types.BlocklistRemoveParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.blocklist().remove(BlocklistRemoveParams.builder()
.sessionId("33333333-4444-5555-6666-777777777777")
.unblockFace(true)
.unblockDocument(true)
.build());
System.out.println(result);<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->blocklist->remove([
'session_id' => '33333333-4444-5555-6666-777777777777',
'unblock_face' => true,
'unblock_document' => true,
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.blocklist.remove(
session_id: "33333333-4444-5555-6666-777777777777",
unblock_face: true,
unblock_document: true
)
puts result.to_husing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.Blocklist.RemoveAsync(new BlocklistRemoveParams
{
SessionId = "33333333-4444-5555-6666-777777777777",
UnblockFace = true,
UnblockDocument = true,
});
Console.WriteLine(JsonSerializer.Serialize(result));{
"message": "Successfully removed from blocklist."
}Remove from Blocklist API: Unblock Session Items
POST /v3/blocklist/remove/: lift the block on the face, document, phone number or email of a Didit verification session in one call.
curl -X POST 'https://verification.didit.me/v3/blocklist/remove/' \
-H 'x-api-key: YOUR_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"session_id": "33333333-4444-5555-6666-777777777777",
"unblock_face": true,
"unblock_document": true
}'from didit import Didit
# Reads DIDIT_API_KEY.
client = Didit()
result = client.blocklist.remove(
session_id="33333333-4444-5555-6666-777777777777",
unblock_face=True,
unblock_document=True,
)
print(result)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY.
const didit = new Didit();
const result = await didit.blocklist.remove({
session_id: "33333333-4444-5555-6666-777777777777",
unblock_face: true,
unblock_document: true,
});
console.log(result);ctx := context.Background()
// Reads DIDIT_API_KEY.
client := didit.NewClient()
result, err := client.Blocklist.Remove(ctx, didit.BlocklistRemoveParams{
SessionID: "33333333-4444-5555-6666-777777777777",
UnblockFace: didit.Bool(true),
UnblockDocument: didit.Bool(true),
})
if err != nil {
log.Fatal(err)
}
fmt.Printf("%+v\n", result)import me.didit.Didit;
import me.didit.types.BlocklistRemoveParams;
// Reads DIDIT_API_KEY.
Didit client = new Didit();
var result = client.blocklist().remove(BlocklistRemoveParams.builder()
.sessionId("33333333-4444-5555-6666-777777777777")
.unblockFace(true)
.unblockDocument(true)
.build());
System.out.println(result);<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY.
$didit = new DiditClient();
$result = $didit->blocklist->remove([
'session_id' => '33333333-4444-5555-6666-777777777777',
'unblock_face' => true,
'unblock_document' => true,
]);
print_r($result->toArray());require "didit"
# Reads DIDIT_API_KEY.
didit = Didit::Client.new
result = didit.blocklist.remove(
session_id: "33333333-4444-5555-6666-777777777777",
unblock_face: true,
unblock_document: true
)
puts result.to_husing System;
using System.Text.Json;
using Didit;
// Reads DIDIT_API_KEY.
using var client = new DiditClient();
var result = await client.Blocklist.RemoveAsync(new BlocklistRemoveParams
{
SessionId = "33333333-4444-5555-6666-777777777777",
UnblockFace = true,
UnblockDocument = true,
});
Console.WriteLine(JsonSerializer.Serialize(result));{
"message": "Successfully removed from blocklist."
}Authorizations
Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is wrong, revoked or expired; 403 means no key was sent, the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.
Body
At least one unblock_* flag must be true.
A person verification session of your application. Deleted sessions are refused.
Lift the block on the session's face.
Lift the block on the session's identity document.
Lift the block on the session's phone number.
Lift the block on the session's email address.
Response
The block on the selected items was lifted.
Always Successfully removed from blocklist.