Software Secure Workload
Activity Configure

API to Get a Connector by ID

This endpoint gets the Connector with given ID.

GET /openapi/v1/connectors/<id>

where <id> is the id that can be obtained from the API to Get Connectors.

Parameters: The request URL contains the following parameters

Name

Type

Description

id

string

Specify the Connector ID

Response object: Returns the Connector with given ID.

Sample response

 resp = restclient.get('/connectors/63c12e316419d0131767e21b')
  if resp.status_code == 200:
    parsed_resp = json.loads(resp.content)
    print json.dumps(parsed_resp)

Sample response

 {
    "name": "ERSPAN",
    "updated_at": 0,
    "created_at": 1673604657,
    "appliance_id": "63c1272039042a1c0ddd3e20",
    "root_scope_id": "63bf8d2f497d4f7287dbd335",
    "vrf_id": 1,
    "type": "ERSPAN",
    "ip_bindings": [],
    "internal": false,
    "id": "63c12e316419d0131767e21b"
  }