============== admin.vpngroup ============== Operation: GET /dataservice/admin/vpngroup ------------------------------------------ Get VPN groups .. code:: python def get() -> List[Any]: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.admin.vpngroup.get() Operation: POST /dataservice/admin/vpngroup ------------------------------------------- Add VPN group .. code:: python def post(payload: Any) -> None: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.admin.vpngroup.post() Operation: PUT /dataservice/admin/vpngroup/{id} ----------------------------------------------- Update VPN group .. code:: python def put(id: str, payload: Any) -> None: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.admin.vpngroup.put() Operation: DELETE /dataservice/admin/vpngroup/{id} -------------------------------------------------- Delete VPN group .. code:: python def delete(id: str) -> None: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.admin.vpngroup.delete()