---
title: "Update user's external ID"
method: PUT
path: "/v2/users/{userId}/external-id"
tags: ["Users"]
---

# Update user's external ID

`PUT /v2/users/{userId}/external-id`

This endpoint updates user's external ID by user ID.

## Request body

- ExternalIdObject — User's external id within partner database.
  - `externalId` string, required — A partner-assigned user identifier. This value must be unique for all travelers within a PNR.

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — The specified resource was not found.

---

[API](https://skmtc.net/spotnana/apis/user-management-api.md) · [All operations](https://skmtc.net/spotnana/apis/user-management-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/spotnana/user-management-api/versions/920fb84cbf70/schema)
