---
title: "Update Member"
method: PATCH
path: "/api/identity/memberships/{team_key}/members/{user_key}"
tags: ["identity"]
---

# Update Member

`PATCH /api/identity/memberships/{team_key}/members/{user_key}`

## Request

- Base URL: `https://api.superit.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.superit.ai/api/identity/memberships/{team_key}/members/{user_key}`
- Auth: HTTP bearer

Update team member's details.

## Path parameters

- `team_key` string, required
- `user_key` string, required

## Request body

- UpdateTeamMemberRequest: Update an existing team member's details (PATCH — all optional).
  - `firstName` string, nullable
  - `lastName` string, nullable
  - `email` string, nullable
  - `role` 'admin' | 'engineer' | 'user' | 'system' | 'inactive': Supported membership roles.

## Response `200`

Successful Response

- UserResponse: User data for API responses.
  - `key` string, required
  - `email` string, required
  - `firstName` string
  - `lastName` string
  - `fullName` string
  - `nickname` string
  - `displayName` string
  - `avatarUrl` string, nullable
  - `lastLogin` string, nullable
  - `phoneNumber` string
  - `timezone` string
  - `language` string, nullable

## Other responses

- `400`: Invalid input
- `401`: Not authenticated
- `403`: Forbidden
- `404`: Not found
- `405`: Method not allowed
- `409`: Conflict
- `422`: Validation Error

---

[API](https://skmtc.dev/superit/apis/super-it-api.md) - [All operations](https://skmtc.dev/superit/apis/super-it-api/llms.txt) - [OpenAPI document](https://skmtc.dev/superit/apis/super-it-api/revisions/4944d556c2bb?raw)
