curl -X DELETE 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/c1a5e000-0000-4000-8000-000000000001/' \
-H 'x-api-key: YOUR_API_KEY'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
client.cases.delete(
"c1a5e000-0000-4000-8000-000000000001",
)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
await didit.cases.delete("c1a5e000-0000-4000-8000-000000000001");ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
if err := client.Cases.Delete(ctx, "c1a5e000-0000-4000-8000-000000000001"); err != nil {
log.Fatal(err)
}import me.didit.Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
client.cases().delete("c1a5e000-0000-4000-8000-000000000001");<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$didit->cases->delete('c1a5e000-0000-4000-8000-000000000001');require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
didit.cases.delete("c1a5e000-0000-4000-8000-000000000001")using System;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
await client.Cases.DeleteAsync("c1a5e000-0000-4000-8000-000000000001");{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "in_filed_report",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"transactions": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "<string>",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
]
}Fall löschen API
Löschen Sie in Didit einen Compliance-Fall und seine Berichtsentwürfe. Ein finalisierter Bericht blockiert die Löschung, bis Sie ihn löschen.
curl -X DELETE 'https://verification.didit.me/v3/organization/11111111-2222-3333-4444-555555555555/application/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/cases/c1a5e000-0000-4000-8000-000000000001/' \
-H 'x-api-key: YOUR_API_KEY'from didit import Didit
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
client = Didit()
client.cases.delete(
"c1a5e000-0000-4000-8000-000000000001",
)import Didit from "@didit-protocol/sdk-node";
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
const didit = new Didit();
await didit.cases.delete("c1a5e000-0000-4000-8000-000000000001");ctx := context.Background()
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
client := didit.NewClient()
if err := client.Cases.Delete(ctx, "c1a5e000-0000-4000-8000-000000000001"); err != nil {
log.Fatal(err)
}import me.didit.Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
Didit client = new Didit();
client.cases().delete("c1a5e000-0000-4000-8000-000000000001");<?php
require 'vendor/autoload.php';
use Didit\DiditClient;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
$didit = new DiditClient();
$didit->cases->delete('c1a5e000-0000-4000-8000-000000000001');require "didit"
# Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
# and DIDIT_APPLICATION_ID.
didit = Didit::Client.new
didit.cases.delete("c1a5e000-0000-4000-8000-000000000001")using System;
using Didit;
// Reads DIDIT_API_KEY, DIDIT_ORGANIZATION_ID
// and DIDIT_APPLICATION_ID.
using var client = new DiditClient();
await client.Cases.DeleteAsync("c1a5e000-0000-4000-8000-000000000001");{
"detail": "<string>"
}{
"detail": "<string>"
}{
"detail": "<string>",
"code": "in_filed_report",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
],
"transactions": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"transaction_id": "<string>",
"reports": [
{
"uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"report_number": "<string>",
"report_type": "SAR",
"case_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
]
}
]
}Durch einen abgeschlossenen Bericht blockiert
Hat der Fall einen abgeschlossenen regulatorischen Bericht, gibt die gesamte Anfrage409 zurück und es wird nichts gelöscht:
{
"detail": "This case has a finalized regulatory report, so it cannot be deleted.",
"code": "in_filed_report",
"reports": [
{
"uuid": "5ec00000-0000-4000-8000-000000000007",
"report_number": "SAR-0001",
"report_type": "SAR",
"case_uuid": "c1a5e000-0000-4000-8000-000000000001"
}
]
}
Verwandte Themen
Autorisierungen
Der API-Schlüssel Ihrer Anwendung, aus Entwickler -> API-Schlüssel in der Business Console. Der Primärschlüssel hat Vollzugriff. Ein benannter Schlüssel kann im Geltungsbereich eingeschränkt werden: keine, Lese- oder Schreibberechtigung pro Ressource, beschränkt auf bestimmte Workflows oder genehmigte Sitzungen, auf eine Liste von IP-Adressen und auf ein Ablaufdatum. 401 bedeutet, dass der Schlüssel falsch, widerrufen oder abgelaufen ist; 403 bedeutet, dass kein Schlüssel gesendet wurde, der Schlüssel keinen Zugriff auf diese Ressource oder Aktion hat oder die Anfrage von einer Adresse außerhalb seiner IP-Liste stammte; 404 bei einer Sitzungsroute bedeutet, dass die Sitzung außerhalb der Workflows oder Status des Schlüssels liegt. Ein Schlüssel ohne Medienzugriff erhält Bild-, Video- und PDF-URLs als null, und ein Schlüssel ohne Schreibberechtigung für Sitzungen erhält Sitzungslinks und Token als null. Siehe https://docs.didit.me/console/api-keys.
Pfadparameter
UUID der Organisation.
Anwendungs-UUID.
Fall-UUID.
"c1a5e000-0000-4000-8000-000000000001"
Antwort
Fall gelöscht.