---
title: "Update a user in your team"
method: PUT
path: "/v1/team-management/users/{id}"
tags: ["Team"]
---

# Update a user in your team

`PUT /v1/team-management/users/{id}`

Updates a team user's profile and credit allocation. Credit fields cannot exceed the team owner's remaining balance.

## Path parameters

- `id` integer, required

## Request body

- PutV1TeamManagementUsersId — Update a user in your team
  - `first_name` string — New given name.
  - `last_name` string — New family name.
  - `email` string — New email address.
  - `password` string — New password.
  - `credits` integer — Allocated VM credit seconds (≤ team owner's remaining VM credits).
  - `device_credits` integer — Allocated physical-device credit seconds (≤ team owner's remaining device credits).
  - `concurrency` integer — Max parallel VM sessions for this user.
  - `concurrencyPhysical` integer — Max parallel physical-device sessions for this user.

## Response `200`

Update a user in your team

- TestingbotEntitiesTeamMember — Testingbot_Entities_TeamMember model
  - `id` integer, required — Unique numeric user ID.
  - `first_name` string, required — Given name.
  - `last_name` string, required — Family name.
  - `email` string, required — Account email.
  - `credits` integer, required — Remaining VM credit seconds.
  - `device_credits` integer, required — Remaining physical-device credit seconds.
  - `isPaid` boolean, required — Whether the account has an active paid plan.
  - `verified` boolean, required — Whether the account email has been verified.
  - `parent_id` integer, required — Parent (team owner) user ID; 0 means this user is the team owner.

## Other responses

- `401` — Authentication required
- `403` — Caller is not on a paid plan / not admin / over allocation
- `404` — User not found

---

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