---
title: "Change a member's role (website / Supabase auth)"
method: PATCH
path: "/v1/account/team/{user_id}/role"
tags: ["account"]
---

# Change a member's role (website / Supabase auth)

`PATCH /v1/account/team/{user_id}/role`

## Request

- Base URL: `https://api.sqai.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.sqai.com/v1/account/team/{user_id}/role`
- Auth: none declared

## Path parameters

- `user_id` string, uuid, required

## Headers

- `authorization` string, nullable
- `x-org-id` string, nullable

## Request body

- RoleBody
  - `role` string, required

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/sqai/apis/algenta-control-plane.md) · [All operations](https://skmtc.dev/sqai/apis/algenta-control-plane/llms.txt) · [OpenAPI document](https://skmtc.dev/sqai/apis/algenta-control-plane/revisions/f30391a81130?raw)
