---
title: "Update workspace user"
method: PUT
path: "/workspaces/{workspace_id}/users/{user_id}"
tags: ["users", "workspaces"]
---

# Update workspace user

`PUT /workspaces/{workspace_id}/users/{user_id}`

## Request

- Base URL: `https://localhost:8080/api/v9`
- URL: `https://localhost:8080/api/v9/workspaces/{workspace_id}/users/{user_id}`
- Auth: HTTP basic
- TypeScript: <https://skmtc.dev/toggl/apis/toggl-api/docs/workspaces/:workspace_id/users/:user_id/put.ts> (a function with typed inputs; its response is checked against the schema)

Update the data for a user in a given workspace.

## Path parameters

- `workspace_id` integer, required
- `user_id` integer, required

## Response `200`

Successful operation.

- string

## Other responses

- `400`: Bad Request
- `403`: User does not have access to this resource.
- `404`: Not Found
- `500`: Internal Server Error

---

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