---
search:
  tags:
    - Identity logs
    - POST
seo:
  description: >-
    Update comment and name fields on a blocked identity. Requires a… Reference
    for the POST /identity-logs/blocked/{blockedId} endpoint in the scango.ch
    API.
sidebar:
  label: Update blocked identity
  badge: POST
title: Update blocked identity
type: openapi-operation
---
Update comment and name fields on a blocked identity. Requires a Write key.

`POST /identity-logs/blocked/{blockedId}`

**Request body** (`application/json`, required)

- `comment` (string, required)
- `first_name` (string, required)
- `last_name` (string, required)
- `birthDate` (string) — Optional new birth date, same formats as on create. Omit it to keep the stored date; it cannot be cleared.

Request body example:

```json
{
  "comment": "Updated note",
  "first_name": "Ada",
  "last_name": "Lovelace"
}
```

**Responses**

- `200` — Updated
- `400` — Invalid parameters or body.
- `403` — API key rejected (see \`Forbidden\`), or identity logs are not enabled for the organization (\`Feature not available\`).
- `404` — No item with this id.

Response example, 200:

```json
{
  "success": true
}
```

Response example, 400:

```json
{
  "statusCode": 400,
  "message": "Validation failed for Field: name, Error: Required",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/suppliers"
}
```

Response example, 403:

```json
{
  "statusCode": 403,
  "message": "Feature not available",
  "timestamp": "2024-04-20T12:00:00.000Z",
  "path": "/api/v1/identity-logs"
}
```
