> For the complete documentation index, see [llms.txt](https://docs.flashback.tech/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.flashback.tech/support-reference/platform-api-reference/user-account.md).

# User Account

The table below provides a categorized overview of the Flashgate API endpoints for user account management, grouped by functional area. Each section lists the available HTTP functions along with a concise description of their purpose, helping developers quickly understand how to manage user accounts, roles, and profiles.

{% hint style="info" %}
To perform these operations, you must be authenticated by means of one of the following methods: [BearerAuth](https://docs.flashback.tech/support-reference/platform-api-reference/authentication.md#http-bearer-authentication).
{% endhint %}

## User Account Management API Calls

<table><thead><tr><th width="247.4000244140625">Method</th><th>API Reference</th><th>Description</th></tr></thead><tbody><tr><td><mark style="color:green;"><code>GET</code></mark><code>/user/profile</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/get__user_profile.md"><strong>get__user_profile</strong></a></td><td>Get the current authenticated user's profile information.</td></tr><tr><td><mark style="color:green;"><code>GET</code></mark><code>/user/{userId}</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/get__user_-userid.md"><strong>get__user_{userId}</strong></a></td><td>Get role information for a specific user within the same organization.</td></tr><tr><td><mark style="color:green;"><code>GET</code></mark><code>/user/quota</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/get__user_quota.md"><strong>get__user_quota</strong></a></td><td>Get the current organization’s active subscription and quota usage.</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/user/login</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/post__user_login.md"><strong>post__user_login</strong></a></td><td>Log in an existing user using credentials.</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/user/refresh</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/post__user_refresh.md"><strong>post__user_refresh</strong></a></td><td>Refresh JWT access token using a refresh token.</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/user/register</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/post__user_register.md"><strong>post__user_register</strong></a></td><td>Register a new user with email and password.</td></tr><tr><td><mark style="color:blue;"><code>PUT</code></mark><code>/user/{userId}</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/put__user_-userid.md"><strong>put__user_{userid}</strong></a></td><td>Fetch the organization’s active subscription and quota usage.</td></tr><tr><td><mark style="color:blue;"><code>PUT</code></mark><code>/user/{userId}/role</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/user-account/put__user_-userid-_role.md"><strong>put__user_{userId}_role</strong></a></td><td>Update the organization role for a specific user.</td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.flashback.tech/support-reference/platform-api-reference/user-account.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
