---
title: "POST /accounts/update-user/"
method: POST
path: "/accounts/update-user/"
tags: ["accounts"]
---

# POST /accounts/update-user/

`POST /accounts/update-user/`

## Request

- Base URL: `http://localhost:8000`
- URL: `http://localhost:8000/accounts/update-user/`
- Auth: one of:
  - API key in header `X-Api-Key`
  - API key in header `X-Secret-Key`

## Request body

- UpdateUser
  - `user_id` string, uuid, required
  - `email` string, email
  - `name` string
  - `organization_role` 'Owner' | 'Admin' | 'Member' | 'Viewer' | 'workspace_admin' | 'workspace_member' | 'workspace_viewer'

## Response `200`

OK

- AccountsStringResultResponse
  - `status` boolean, required
  - `result` string, required

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `500`: Internal Server Error
- `default`: Default error response

---

[API](https://skmtc.dev/futureagi/apis/future-agi-management-api.md) · [All operations](https://skmtc.dev/futureagi/apis/future-agi-management-api/llms.txt) · [OpenAPI document](https://skmtc.dev/futureagi/apis/future-agi-management-api/revisions/c8684118e142?raw)
