---
title: "POST /v1/{+parent}/envgroups"
method: POST
path: "/v1/{+parent}/envgroups"
tags: ["organizations"]
---

# POST /v1/{+parent}/envgroups

`POST /v1/{+parent}/envgroups`

Creates a new environment group.

## Path parameters

- `parent` string, required

## Query parameters

- `name` string

## Request body

- GoogleCloudApigeeV1EnvironmentGroup — EnvironmentGroup configuration. An environment group is used to group one or more Apigee environments under a single host name.
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'DELETING' | 'UPDATING' — Output only. State of the environment group. Values other than ACTIVE means the resource is not ready to use.
  - `name` string — ID of the environment group.
  - `hostnames` string[] — Required. Host names for this environment group.
  - `lastModifiedAt` string, int64 — Output only. The time at which the environment group was last updated as milliseconds since epoch.
  - `createdAt` string, int64 — Output only. The time at which the environment group was created as milliseconds since epoch.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/apigee.md) · [All operations](https://skmtc.net/google/apis/apigee/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/apigee/versions/6e272fa448a7/schema)
