---
title: "Upserts a Candidate Other Names record"
method: PUT
path: "/candidate/{candidate_id}/other-names"
tags: ["Candidate Other Names"]
---

# Upserts a Candidate Other Names record

`PUT /candidate/{candidate_id}/other-names`

## Request body

- OtherNamesPutBodyDef
  - `known_as` string
  - `middle_name` string
  - `maiden_name` string

## Response `200`

The other names record of a candidate will be returned

- OtherNamesResponseBodyDef
  - `_id` string, required
  - `updated_at` string, date-time, required
  - `created_at` string, date-time, required
  - `__v` integer, required
  - `known_as` string
  - `middle_name` string
  - `maiden_name` string
  - `candidate_id` string, required

## Other responses

- `400` — Validation error on put
- `401` — Failed to authenticate the user making the request
- `405` — Method not supported. Returned if an unsupported http method is used.
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/staffshift/staffshift-api-gateway/revisions/6e2cb83db3a9/schema)
