---
title: "Create VPN session"
method: POST
path: "/vpn_sessions"
tags: ["VPN Sessions"]
---

# Create VPN session

`POST /vpn_sessions`

Creates a new VPN Session.
`NOTE:` The VPN credentials are only listed ONCE upon creation. They can however be refreshed or deleted.

## Request body

- object
  - `data` object
    - `type` 'vpn_sessions'
    - `attributes` object
      - `site` 'ASH' | 'BUE' | 'CHI' | 'DAL' | 'FRA' | 'LAX' | 'LON' | 'MEX' | 'MEX2' | 'MIA' | 'MIA2' | 'NYC' | 'SAO' | 'SAO2' | 'SGP' | 'SYD' | 'TYO' | 'TYO2', required
      - `server_id` string, required

## Response `201`

Created

---

[API](https://skmtc.net/latitude/apis/latitude-sh-api.md) · [All operations](https://skmtc.net/latitude/apis/latitude-sh-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/latitude/latitude-sh-api/revisions/248f954a4e29/schema)
