Version 4.0.26.18

> [!NOTE]
> **Note:** These docs are for an older version of the API. The API reference is also available for [the latest version, 4.0.26.22](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest).

### Creates a new group (admin only).

## Request

POST /groups Datatype Description Request HTTP Request body HTTP Body Expand HTTP Body definition... body [Group](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Group) Group Expand Group definition... can object Operations the current user is able to perform on this object can_add_to_content_metadata boolean Group can be used in content access controls contains_current_user boolean Currently logged in user is group member external_group_id string External Id group if embed group externally_managed boolean Group membership controlled outside of Looker id string Unique Id include_by_default boolean New users are added to this group by default name string Name of group user_count integer Number of users included in this group query HTTP Query Expand HTTP Query definition... fields string Requested fields.

## Response

### 200: Group

Datatype Description (object) [Group](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Group) can object Operations the current user is able to perform on this object can_add_to_content_metadata boolean Group can be used in content access controls contains_current_user boolean Currently logged in user is group member external_group_id string External Id group if embed group externally_managed boolean Group membership controlled outside of Looker id string Unique Id include_by_default boolean New users are added to this group by default name string Name of group user_count integer Number of users included in this group

### 400: Bad Request

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 409: Resource Already Exists

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/ValidationErrorDetail)\[\] Expand ValidationErrorDetail definition... field string Field with error code string Error code message string Error info message documentation_url string Documentation link documentation_url string Documentation link

### 429: Too Many Requests

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/4.0/26.18/types/Error) message string Error details documentation_url string Documentation link