Organizations
List all organizations
Returns a paginated list of all organizations with optional search.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Query Parameters
pageintegerPage number
limitintegerPage size
searchstringSearch by name or slug
OK
Create an organization
Creates a new organization as a server admin.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredOrganization details
namestringownerUserIdstringslugstringCreated
Get organization details
Returns detailed information about a specific organization.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringOrganization ID
"uuid"OK
Delete an organization
Permanently deletes an organization and all its resources.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringOrganization ID
"uuid"OK
Deactivate an organization
Deactivates an organization, disabling all its resources.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringOrganization ID
"uuid"OK
List organization members
Returns a paginated list of members for an organization.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringOrganization ID
"uuid"Query Parameters
pageintegerPage number
limitintegerPage size
OK
Add member to org
Adds an existing user to an organization with the specified role.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredUser and role
roleNameRequiredstringuserIdRequiredstringPath Parameters
idRequiredstringOrganization ID
"uuid"Created
Remove org member
Removes a member from an organization. Cannot remove the last owner.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringOrganization ID
"uuid"userIdRequiredstringUser ID
"uuid"No Content
Change org member role
Changes the role of a member within an organization.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredNew role
roleNameRequiredstringPath Parameters
idRequiredstringOrganization ID
"uuid"userIdRequiredstringUser ID
"uuid"OK
Reactivate an organization
Reactivates a previously deactivated organization.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Path Parameters
idRequiredstringOrganization ID
"uuid"OK
Transfer organization ownership
Transfers ownership of an organization from one user to another.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredTransfer details
toUserIdstringPath Parameters
idRequiredstringOrganization ID
"uuid"OK
Get current organization details
Returns the organization details for the current tenant context, including member count.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Delete organization
Permanently deletes the organization. Only the organization owner can perform this action.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
OK
Update organization details
Updates the organization's name, slug, and/or logo URL. Requires manage:org_settings permission.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredOrganization fields to update
logoUrlstringnamestringslugstringOK
Transfer organization ownership
Transfers ownership of the organization to another member. Requires the current owner's password.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredNew owner ID and password
newOwnerIdstringpasswordstringOK
Create a new organization
Creates a new organization with the authenticated user as the owner. Auto-generates a slug if not provided.
Authorization
Authorization<token>JWT Bearer token (format: Bearer {token})
In: header
Request Body
application/jsonRequiredOrganization details
namestringslugstringCreated