---
title: "Edit Staff Details"
method: POST
path: "/staff/edit"
---

# Edit Staff Details

`POST /staff/edit`

Updates profile information of the respective staff user. You can use direct login or token based login. You need a new header X-CAP-API-ACCESS-TOKEN for token based authentication.

## Headers

- `X-CAP-API-AUTH-KEY` string
- `X-CAP-API-AUTH-ORG-ID` string

## Request body

- object
  - `username` string — Username for the current staff account. No special characters are allowed.
  - `id` string — Unique ID of the staff.
  - `mobile` string — Mobile number of the staff.
  - `email` string — Email ID of the staff.
  - `firstname` string — First name of the staff user
  - `lastname` string — Last name of the staff user.
  - `title` string — Role or designation of the user

## Response `200`

200

## Other responses

- `400` — 400

---

[API](https://skmtc.net/capillarytech/apis/sample-api.md) · [All operations](https://skmtc.net/capillarytech/apis/sample-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/capillarytech/sample-api/versions/de241f2ed9b3/schema)
