Skip to content
scango.ch
Esc
↑↓navigate↵open⌘Jpreview

Block identity

Add a blocked identity. Requires a Write key. Returns 403 if identity logs are not enabled for the organization.

POST/identity-logs/blocked
Authorization
AuthorizationBearer token (API key) · headerrequired

Organization API key.

Request body
requiredapplication/json
commentstringrequired

Reason for the block. Leading and trailing spaces are trimmed; must not be blank.

min length 1
first_namestringrequired
min length 1
last_namestringrequired
min length 1
rawMrzstring

Optional machine-readable zone of the scanned document.

min length 1
birthDatestring

Optional birth date: YYYY-MM-DD, or ISO 8601 datetime with Z or a numeric offset (e.g. 1990-01-01T00:00:00.000Z, 1990-01-01T12:00:00+02:00). Timezone-less datetimes are rejected. Omitted or empty means no birth date is stored.

Responses
200

Created

successbooleanrequired
idstringrequired
400

Invalid parameters or body.

statusCodeintegerrequired

HTTP status code

messagestringrequired

Human-readable error message

timestampstring<date-time>required

When the error occurred (UTC).

pathstringrequired

Request URL (path and query string).

403

API key rejected (see Forbidden), or identity logs are not enabled for the organization (Feature not available).

statusCodeintegerrequired

HTTP status code

messagestringrequired

Human-readable error message

timestampstring<date-time>required

When the error occurred (UTC).

pathstringrequired

Request URL (path and query string).

Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'https://dashboard.scango.ch/api/v1/identity-logs/blocked' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -d '{
  "comment": "Blocked at door",
  "first_name": "Ada",
  "last_name": "Lovelace",
  "rawMrz": "P<CHELOVELACE<<ADA<<<<<<<<<<<<<<<<<<<",
  "birthDate": "1990-01-01"
}'
Response
{
  "success": true,
  "id": "blk_01"
}

Was this page helpful?