> 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](/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="/pages/jencrph8yM0i4zyuo3ZY"><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="/pages/5pif7ARA6WfK3tvgP30n"><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="/pages/UPNmpxE2wJ8zaatYiolP"><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="/pages/wrshHsFcQ1LCvcpqsfQO"><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="/pages/CCVDshR1TetJFOK6fgCQ"><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="/pages/qwNmnQp8fZTJndL6SU3i"><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="/pages/fK3twDFaKPOdaHrwAM4S"><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="/pages/E8AvNdUJPEPtzX8uJrMO"><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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
