Organization
The table below provides a categorized overview of the Flashback 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.
Organization Management API Calls
GET
/organization/{orgId}
Get organization details and settings for the authenticated user's organization.
PUT
/organization/{orgId}
Update organization details (OWNER/ADMINISTRATOR roles only).
Organization User Management API Calls
GET
/organization/users
List all users in the organization (requires user management permissions).
POST
/organization/users
Create a new user in the organization (requires user management permissions).
GET
/organization/users/{userId}
Get specific user details in the organization (requires user management permissions).
PUT
/organization/users/{userId}
Update user information in the organization (requires user management permissions).
DELETE
/organization/users/{userId}
Soft delete a user from the organization (requires user management permissions).
POST
/organization/users/{userId}/activate
Reactivate a previously deleted user (requires user management permissions).
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
Important: User management operations (create, update, delete users) require WORKSPACES role or higher. Organization modification requires ADMINISTRATOR or OWNER role.
Last updated
Was this helpful?