---
title: "Create Aws Tenant L2"
method: POST
path: "/service/{tenant_name}/l2/aws_direct_connect"
tags: ["service - l2_interface"]
---

# Create Aws Tenant L2

`POST /service/{tenant_name}/l2/aws_direct_connect`

## Request

- Base URL: `https://docs.zayo.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.zayo.com/service/{tenant_name}/l2/aws_direct_connect`
- Auth: HTTP bearer

## Path parameters

- `tenant_name` unknown, required

## Request body

- NBTenantAWSDirectConnectCreateRequest
  - `vi_name` string, required
  - `site_name` string, nullable
  - `account_id` string, nullable
  - `max_bandwidth` '50000' | '100000' | '200000' | '300000' | '400000' | '500000' | '1000000' | '2000000' | '5000000' | '10000000' | '25000000'
  - `aws_customer_port_name` string, nullable

## Response `201`

Successful Response

- NBRequestResponse
  - `id` string, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `status` 'received' | 'in_progress' | 'success' | 'failed' | 'cancelled', required
  - `extra_details` object, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/zayo/apis/niro-api.md) - [All operations](https://skmtc.dev/zayo/apis/niro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/zayo/apis/niro-api/revisions/c52ac26e1766?raw)
