> 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/cloudeka-api/deka-vpn/restart-ipsec-service.md).

# Restart IpSec service

Restart the IpSec service based on the IP parameter

```json
{"openapi":"3.1.1","info":{"title":"Cloudeka AI - API Documentation","version":"1.0.0"},"tags":[{"name":"Deka VPN","description":"API endpoints for Deka VPN (base: /core/vpn)"}],"servers":[{"url":"https://ai.cloudeka.id/"}],"paths":{"/core/vpn/v1/service/restart-ipsec":{"get":{"description":"Restart the IpSec service based on the IP parameter","tags":["Deka VPN","ipsec"],"summary":"Restart IpSec service","parameters":[{"schema":{"type":"string"},"description":"Client IP address (example: 103.67.43.16)","name":"ip","in":"query","required":true}],"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"}}}}}}}},"components":{"schemas":{"ai_vpn__response.Response":{"type":"object","properties":{"data":{},"error":{},"message":{"type":"string"}}}}}}
```
