Organizations
Last updated
Was this helpful?
Last updated
Was this helpful?
Endpoint to get an organization.
Args: organization_id_or_name: ID or name of the organization to get. include_subscription_status: Whether to include the subscription status of the org auth_context: The authentication context. rbac: RBAC component. organization_manager: Organization manager
Returns: Model of the organization.
false
Model for viewing organizations.
Endpoint to delete an organization.
Args: organization_id: ID of the organization to delete. user: The authenticated user. organization_manager: Organization manager
Raises: IllegalOperationError: If the user does not have permissions to delete the organization.
No content
Endpoint to list organizations.
Args: name: Filter by organization name. offset: Query offset. limit: Query limit. auth_context: The authentication context. rbac: RBAC component. organization_manager: Organization manager owner_id: Id of the Organization owner
Returns: List of organization models.
0
100
Model for viewing organizations.
Endpoint to create an organization.
Args: organization: The organization to create. user: The authenticated user. rbac: RBAC component. organization_manager: Organization manager
Raises: IllegalOperationError: If the user is not allowed to create an organization for another user or to set sensitive user fields. OrganizationLimitExceeded: If the user already has an organization.
Returns: Model of the created organization.
Model for creating organizations.
The UUID of the organization owner. If not set, the current user is set as the owner.
Model for viewing organizations.
Endpoint to update an organization.
Args: organization_id: ID of the organization to update. update: The organization update. user: The authenticated user. rbac: RBAC component. organization_manager: Organization manager
Returns: Model of the updated organization.
Raises: IllegalOperationError: If the user does not have permissions to update the organization.
Model for updating organizations.
Model for viewing organizations.