---
title: "Returns the config of the specified vpn agent."
method: GET
path: "/agents/vpn/{vpn-agent_id}/config"
tags: ["vpn agents"]
---

# Returns the config of the specified vpn agent.

`GET /agents/vpn/{vpn-agent_id}/config`

You have to be a member of workspace

## Path parameters

- `vpn-agent_id` string, required

## Query parameters

- `workspace_id` string, required

## Response `200`

OK

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found

---

[API](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2.md) · [All operations](https://skmtc.net/elastic/apis/elastic-io-rest-api-documentation-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/elastic-io-rest-api-documentation-v2/revisions/411f9f98c01e/schema)
