---
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`

## 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.net/zayo/apis/niro-api.md) · [All operations](https://skmtc.net/zayo/apis/niro-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zayo/niro-api/revisions/c52ac26e1766/schema)
