Skip to main content
POST
/
v3
/
sessions
/
delete
curl
curl -X POST \
  https://verification.didit.me/v3/sessions/delete/ \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "session_numbers": ["1001", "1002", "1003"]
  }'

Authorizations

x-api-key
string
header
required

Body

application/json
session_numbers
string[]

List of session numbers (UI-visible decimal strings) to soft-delete. Required unless delete_all is true. Empty list rejected with 400. Each entry must contain digits only.

Minimum array length: 1
Pattern: ^[0-9]+$
Example:
["1001", "1002", "1003"]
delete_all
boolean
default:false

When true, every non-deleted session belonging to the calling application is soft-deleted. session_numbers is ignored in that case. Defaults to false.

Example:

false

Response

Sessions soft-deleted. Empty body.