---
title: "Create a new group"
method: POST
path: "/org/{orgId}/group"
tags: ["org"]
---

# Create a new group

`POST /org/{orgId}/group`

## Request

- Base URL: `https://api.runway.team`
- URL: `https://api.runway.team/org/{orgId}/group`
- Auth: API key in header `X-API-Key`

## Path parameters

- `orgId` string, required

## Request body

- BaseGroupCreateRequestBody
  - `name` string, required: The name of the group
  - `userActions` UserAction[]: The list of user actions that the group can perform
  - `members` string[]: The list of user IDs that are members of the group
  - `isEligibleForPilotRotation` boolean: Whether members of this group are eligible to be added to a release pilot rotation

## Response `200`

A user group response

- GroupEntity
  - `id` string, required: The ID of the group
  - `name` string, required: The name of the group
  - `userActions` UserAction[], required: The actions that the group is allowed to perform
  - `members` string[], required: The members of the group
  - `isEligibleForPilotRotation` boolean, required: Whether members of this group are eligible to be added to a release pilot rotation

## Other responses

- `400`: Bad request response
- `404`: Resource not found response

---

[API](https://skmtc.dev/runway/apis/runway-rest-api.md) - [All operations](https://skmtc.dev/runway/apis/runway-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runway/apis/runway-rest-api/revisions/081109863a9a?raw)
