---
title: "PUT /travel_profile/{user_id}/passports/{passport_id}"
method: PUT
path: "/travel_profile/{user_id}/passports/{passport_id}"
tags: ["travel_profile"]
---

# PUT /travel_profile/{user_id}/passports/{passport_id}

`PUT /travel_profile/{user_id}/passports/{passport_id}`

## Request

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

## Request body

- AddPassportParameters
  - `id` integer
  - `passport_number` string
  - `issue_date` string, date
  - `issuing_country` object
  - `citizenship` object
  - `expiration_date` string, date

## Response `200`

Request fulfilled, document follows

- BasePassportSchema
  - `id` integer
  - `passport_number` string, required
  - `issue_date` string, date, required
  - `issuing_country` object, required
  - `citizenship` object, required
  - `expiration_date` string, date, required

## Other responses

- `202`: Passport 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)
