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

# POST /v1/{+parent}/endpointAttachments

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

Creates an endpoint attachment. **Note:** Not supported for Apigee hybrid.

## Path parameters

- `parent` string, required

## Query parameters

- `endpointAttachmentId` string

## Request body

- GoogleCloudApigeeV1EndpointAttachment — Apigee endpoint attachment. For more information, see [Southbound networking patterns] (https://cloud.google.com/apigee/docs/api-platform/architecture/southbound-networking-patterns-endpoints).
  - `state` 'STATE_UNSPECIFIED' | 'CREATING' | 'ACTIVE' | 'DELETING' | 'UPDATING' — Output only. State of the endpoint attachment. Values other than `ACTIVE` mean the resource is not ready to use.
  - `connectionState` 'CONNECTION_STATE_UNSPECIFIED' | 'UNAVAILABLE' | 'PENDING' | 'ACCEPTED' | 'REJECTED' | 'CLOSED' | 'FROZEN' | 'NEEDS_ATTENTION' | 'ACCEPTED_LIMITED_CAPACITY' — Output only. State of the endpoint attachment connection to the service attachment.
  - `serviceAttachment` string — Format: projects/*/regions/*/serviceAttachments/*
  - `name` string — Name of the endpoint attachment. Use the following structure in your request: `organizations/{org}/endpointAttachments/{endpoint_attachment}`
  - `host` string — Output only. Host that can be used in either the HTTP target endpoint directly or as the host in target server.
  - `location` string — Required. Location of the endpoint attachment.

## 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)
