---
title: "Update user role"
method: PATCH
path: "/accounts/role"
tags: ["User Management"]
---

# Update user role

`PATCH /accounts/role`

Updates a user's role in an account

## Request body

- object
  - `email` string, email, required — User email
  - `role` 'admin' | 'developer' | 'monitor' | 'billing', required — New role

## Response `200`

Role updated successfully

- SuccessResponse
  - `message` string

## Other responses

- `400` — Bad request
- `401` — Unauthorized

---

[API](https://skmtc.net/quivaworks/apis/quiva-ai-gateway.md) · [All operations](https://skmtc.net/quivaworks/apis/quiva-ai-gateway/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/quivaworks/quiva-ai-gateway/revisions/771d118bd4d1/schema)
