---
title: "Update legitimation data"
method: PATCH
path: "/v1/persons/{person_id}/identifications/{id}/legitimation_data"
tags: ["Person identifications"]
---

# Update legitimation data

`PATCH /v1/persons/{person_id}/identifications/{id}/legitimation_data`

Update the legitimation data of an identification

## Path parameters

- `person_id` string, required — The unique ID of the person resource created for a customer.
- `id` string, required — The unique ID of the identification resource created for a customer.

## Request body

- object
  - `legitimation_document_number` string, required — The document number of the legitimation
  - `legitimation_type` string — Legitimation type
  - `legitimation_issuer` string — Issuer of the legitimation
  - `legitimation_country` string — Country that issued legitimation
  - `legitimation_issued_at` string, date — The date at which the legitimation was issued at. **Note** Not required for Spanish ID cards.
  - `legitimation_valid_until` string, date — The date until which the legitimation is valid

## Response `200`

Successful result of the operation

- SolarisServerDecoratorsIdentificationLegitimation
  - `legitimation_document_number` string — The document number of the legitimation document.
  - `legitimation_type` 'IDCARD' | 'PASSPORT' — The type of the legitimation document.
  - `legitimation_issuer` string — Issuer of the legitimation document.
  - `legitimation_country` string — Country that issued the legitimation document.
  - `legitimation_issued_at` string, date — The date when the legitimation document was issued. **Note** Not required for Spanish ID cards.
  - `legitimation_valid_until` string, date — The date when the legitimation document expires.

## Other responses

- `default` — Unexpected error

---

[API](https://skmtc.net/solarisgroup/apis/customer-identification-kyc.md) · [All operations](https://skmtc.net/solarisgroup/apis/customer-identification-kyc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/solarisgroup/customer-identification-kyc/revisions/c481fa2414f9/schema)
