# ViewSet for viewing and changing authenticated user's workspaces (companies). This view is optimized to prevent N+1 queries through the use of annotations and prefetching in the repository layer. Endpoint: GET /accounts/workspaces Version: 1.0 Security: Bearer ## Query parameters: - `name` (string) name - `name__icontains` (string) name__icontains - `name__istartswith` (string) name__istartswith - `name__iendswith` (string) name__iendswith - `type` (string) type Enum: "active", "inactive", "test", "demo", "trial", "stakeholder" - `type__in` (string) type__in - `country` (string) country - `country__icontains` (string) country__icontains - `country__istartswith` (string) country__istartswith - `country__iendswith` (string) country__iendswith - `country__in` (string) country__in - `type__exclude` (string) type__exclude - `ordering` (string) Which field to use when ordering the results. - `search` (string) A search term. - `limit` (integer) Number of results to return per page. - `offset` (integer) The initial index from which to return the results. ## Response 200 fields (application/json): - `count` (integer, required) - `next` (string,null) - `previous` (string,null) - `results` (array, required) - `results.workspace_id` (integer) - `results.workspace_name` (string) - `results.workspace_logo` (string) - `results.id` (integer) - `results.name` (string) - `results.logo` (string,null) - `results.type` (string) Enum: "active", "inactive", "test", "demo", "trial", "stakeholder" - `results.country` (string,null) - `results.member_count` (integer) - `results.is_mfa_enabled` (boolean) - `results.created_at` (string) - `results.updated_at` (string)