> 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/organization.md).

# Organization

The table below provides a categorized overview of the Flashgate API endpoints for organization 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 organizations, users, and organizational settings.

{% 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 %}

## Organization 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>/organization/{orgId}</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/get__organization_-orgid.md"><strong>get__organization_{orgId}</strong></a></td><td>Get organization details and settings for the authenticated user's organization.</td></tr><tr><td><mark style="color:blue;"><code>PUT</code></mark><code>/organization/{orgId}</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/put__organization_-orgid.md"><strong>put__organization_{orgId}</strong></a></td><td>Update organization details (OWNER/ADMINISTRATOR roles only).</td></tr></tbody></table>

## Organization User 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>/organization/users</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/get__organization_users.md"><strong>get__organization_users</strong></a></td><td>List all users in the organization (requires user management permissions).</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/organization/users</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/post__organization_users.md"><strong>post__organization_users</strong></a></td><td>Create a new user in the organization (requires user management permissions).</td></tr><tr><td><mark style="color:green;"><code>GET</code></mark><code>/organization/users/{userId}</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/get__organization_users_-userid.md"><strong>get__organization_users_{userId}</strong></a></td><td>Get specific user details in the organization (requires user management permissions).</td></tr><tr><td><mark style="color:blue;"><code>PUT</code></mark><code>/organization/users/{userId}</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/put__organization_users_-userid.md"><strong>put__organization_users_{userId}</strong></a></td><td>Update user information in the organization (requires user management permissions).</td></tr><tr><td><mark style="color:red;"><code>DELETE</code></mark><code>/organization/users/{userId}</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/delete__organization_users_-userid.md"><strong>delete__organization_users_{userId}</strong></a></td><td>Soft delete a user from the organization (requires user management permissions).</td></tr><tr><td><mark style="color:orange;"><code>POST</code></mark><code>/organization/users/{userId}/activate</code></td><td><a href="https://docs.flashback.tech/support-reference/platform-api-reference/organization/post__organization_users_-userid-_activate.md"><strong>post__organization_users_{userId}_activate</strong></a></td><td>Reactivate a previously deleted user (requires user management permissions).</td></tr></tbody></table>

## Role-Based Access Control

The organization APIs implement role-based access control with the following permission levels:

* **USER (0x00)**: Basic access, can view own organization details
* **BILLING (0x01)**: Can manage billing and subscriptions
* **WORKSPACES (0x02)**: Can manage workspaces and team members, can manage organization users
* **ADMINISTRATOR (0xfe)**: Administrative access, can modify organization settings and manage users
* **OWNER (0xff)**: Full organization access, can perform all operations

{% hint style="warning" %}
**Important**: User management operations (create, update, delete users) require WORKSPACES role or higher. Organization modification requires ADMINISTRATOR or OWNER role.
{% endhint %}


---

# 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/organization.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.
