---
title: "PUT /travel_profile/{user_id}/national_ids/{national_id_id}"
method: PUT
path: "/travel_profile/{user_id}/national_ids/{national_id_id}"
tags: ["travel_profile"]
---

# PUT /travel_profile/{user_id}/national_ids/{national_id_id}

`PUT /travel_profile/{user_id}/national_ids/{national_id_id}`

## Request

- Base URL: `https://app.getgoing.com`
- URL: `https://app.getgoing.com/travel_profile/{user_id}/national_ids/{national_id_id}`
- Auth: API key in header `Authorization`

## Request body

- AddNationalIDParameters
  - `id` integer
  - `number` string
  - `country` object
  - `expiration_date` string, date
  - `foid` boolean, nullable

## Response `200`

Request fulfilled, document follows

- BaseNationalIDSchema
  - `id` integer
  - `number` string, required
  - `country` object, required
  - `expiration_date` string, date, required
  - `foid` boolean, nullable

## Other responses

- `202`: National ID was updated
- `422`: Success

---

[API](https://skmtc.dev/getgoing/apis/getgoing-api.md) - [All operations](https://skmtc.dev/getgoing/apis/getgoing-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getgoing/apis/getgoing-api/revisions/7546f102cf69?raw)
