admin.vpngroup

Operation: GET /dataservice/admin/vpngroup

Get VPN groups

def get() -> List[Any]: ...

Example:

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

def post(payload: Any) -> None: ...

Example:

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

def put(id: str, payload: Any) -> None: ...

Example:

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

def delete(id: str) -> None: ...

Example:

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()