v1

latestOpenAPI 3.0.1MIT2026-07-134925112.4 KB

Create Group

Creates a new group for the organization or user.

post/v1/organizations/{organizationSlug}/groups

Path parameters

organizationSlugstring required

The slug of the organization or user account.

Request body

namestring required

The name of the new group.

locationstring required

The location key for the new group.

Example request

{
  "name": "new-group",
  "location": "aws-us-east-1"
}

Response

Successful response

Example response

{
  "group": {
    "name": "default",
    "version": "v0.23.7",
    "uuid": "0a28102d-6906-11ee-8553-eaa7715aeaf2",
    "locations": [
      "aws-us-east-1"
    ],
    "primary": "us-east-1"
  }
}