---
title: "POST /api/internal/vpn/access-sync"
method: POST
path: "/api/internal/vpn/access-sync"
tags: ["VpnAccessSync"]
---

# POST /api/internal/vpn/access-sync

`POST /api/internal/vpn/access-sync`

## Request

- Base URL: `https://api-admin.hackgate.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api-admin.hackgate.io/api/internal/vpn/access-sync`
- Auth: HTTP bearer

## Request body

- VpnAccessSyncRequest
  - `clerkUserId` string, required
  - `email` string, email, required
  - `username` string, nullable
  - `vpnInstanceId` string, required

## Response `200`

OK

- VpnAccessSyncResponse
  - `clerkUserId` string, nullable
  - `email` string, nullable
  - `username` string, nullable
  - `allowed` boolean
  - `vpnInstanceId` string, nullable
  - `vpnName` string, nullable
  - `allowedTargetCount` integer

## Changes

- **2026-09-19** `378d74580c23`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hackgate/apis/hackgate-admin-api/changes/api/internal/vpn/access-sync/post.md)

---

[API](https://skmtc.dev/hackgate/apis/hackgate-admin-api.md) - [All operations](https://skmtc.dev/hackgate/apis/hackgate-admin-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hackgate/apis/hackgate-admin-api/revisions/4001be3c2ed0?raw)
