---
title: "Update user role in workspace"
method: PUT
path: "/workspaces/{workspaceId}/users/role"
tags: ["Workspaces"]
---

# Update user role in workspace

`PUT /workspaces/{workspaceId}/users/role`

Updates the role of a user in the specified workspace. Users cannot update their own roles.

## Path parameters

- `workspaceId` integer, required

## Query parameters

- `userEmail` string, required
- `role` 'OWNER' | 'ADMIN' | 'MEMBER' | 'GUEST' | 'AGENT', required

## Response `200`

User role updated successfully

## Other responses

- `403` — User cannot update their own role
- `404` — Workspace or user not found

---

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