Software Secure Workload
Activity Configure

API to Delete a Connector

This endpoint deletes the given Connector.

DELETE /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 status of the deleted Connector.

Sample response

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

Sample response

 {
    "status": 200,
    "code": 1000,
    "message": "deleted"
  }