> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/release-notes/cloudeka-api/ai-vpn/buat-openvpn-baru-1.md).

# Buat OpenVPN baru

Membuat konfigurasi OpenVPN baru

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"AI VPN","description":"API endpoints for AI VPN (base: /core/vpn)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"security":[{"BearerAuth":[]}],"components":{"securitySchemes":{"BearerAuth":{"description":"Type 'Bearer ' followed by your JWT token. Example: \"Bearer eyJhbGciOi...\"","type":"apiKey","name":"Authorization","in":"header"}},"schemas":{"ai_vpn__response.Response":{"type":"object","properties":{"data":{},"error":{},"message":{"type":"string"}}},"ai_vpn__request.PayloadOpenVpn":{"type":"object","required":["name","organization_id","project_id"],"properties":{"actitivity_name":{"type":"string"},"description":{"type":"string"},"expired_date":{"type":"string"},"ip_public":{"type":"string"},"local_network":{"type":"string"},"name":{"type":"string","maxLength":30},"organization_id":{"type":"string"},"password":{"type":"string"},"project_id":{"type":"string"},"project_name":{"type":"string"},"subnet_network":{"type":"string"},"user_id":{"type":"string"},"username":{"type":"string"}}}}},"paths":{"/core/vpn/v1/openvpn/create":{"post":{"description":"Membuat konfigurasi OpenVPN baru","tags":["AI VPN","openvpn"],"summary":"Buat OpenVPN baru","responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_vpn__response.Response"}}}},"400":{"description":"Bad Request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_vpn__response.Response"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ai_vpn__request.PayloadOpenVpn"}}},"description":"OpenVPN request","required":true}}}}}
```
