---
title: "PUT /api/employees/{id}"
method: PUT
path: "/api/employees/{id}"
tags: ["Employees"]
---

# PUT /api/employees/{id}

`PUT /api/employees/{id}`

## Request

- Base URL: `https://saasrock.com` (the document declares no server; this is the origin it was published from)
- URL: `https://saasrock.com/api/employees/{id}`
- Auth: one of:
  - API key in header `X-Api-Key`
  - HTTP bearer

Update an existing Employee

## Path parameters

- `id` string, required

## Request body

- object
  - `firstName` string
  - `lastName` string
  - `email` string
  - `salary` integer
  - `status` string
  - `photo` object[]
    - `title` string
    - `name` string
    - `file` string
    - `type` string

## Response `200`

OK

## Other responses

- `400`: Bad Request
- `404`: Not Found
- `500`: Internal Server Error

---

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