- [HTTP request](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#body.HTTP_TEMPLATE)
- [Path parameters](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#body.PATH_PARAMETERS)
- [Query parameters](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#body.QUERY_PARAMETERS)
- [Request body](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#body.request_body)
- [Response body](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#body.response_body)
- [Authorization scopes](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#body.aspect)
- [Examples](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#examples)
- [Try it!](https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints/create#try-it)

Creates a new Outbound Endpoint.

### HTTP request

`POST https://dns.googleapis.com/dns/v1beta2/{parent=projects/*/locations/*}/outboundEndpoints`

The URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.

### Path parameters

| Parameters ||
|---|---|
| `parent` | `string` Required. The parent project and location where this OutboundEndpoint will be created. Format: projects/{project}/locations/{location} |

### Query parameters

| Parameters ||
|---|---|
| `clientOperationId` | `string` For mutating operation requests only. An optional identifier specified by the client. Must be unique for operation resources in the Operations collection. |
| `outboundEndpointId` | `string` Required. The ID to use for the OutboundEndpoint, which will become the final component of the OutboundEndpoint's resource name. |
| `requestId` | `string` Optional. An optional request ID to identify requests. |

### Request body

The request body contains an instance of `https://docs.cloud.google.com/dns/docs/reference/rest/v1beta2/outboundEndpoints#OutboundEndpoint`.

### Response body

If successful, the response body contains a newly created instance of `https://docs.cloud.google.com/dns/docs/reference/rest/Shared.Types/ListOperationsResponse#Operation`.

### Authorization scopes

Requires one of the following OAuth scopes:

- `https://www.googleapis.com/auth/cloud-platform`
- `
  https://www.googleapis.com/auth/ndev.clouddns.readwrite`

For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp).