/connmgr/v1/connections/<connection_name>: DELETE
Deletes a connection.
The /connmgr/v1/connections/<connection_name>: DELETE endpoint
deletes the specified connection from the connection table. The following table shows which roles
can access this REST API endpoint:
Data admin | Data user | Collection Admin | Admin | Service user |
---|---|---|---|---|
✓ | Χ | Χ | Χ | Χ |
Synopsis of the request URL
curl -k -H 'Authorization: Bearer <token>' https://<spectrum_discover_host>/connmgr/v1/
connections/<connection_name> -X DELETE
Supported request types and response formats
Supported request types:
Supported response formats:- DELETE
- JSON
Examples
- The following example deletes a connection named con02:
- Issue the following request on one
line:
curl -k -H 'Authorization: Bearer <token>' https://<spectrum_discover_host>/connmgr/v1/connections/con02 -X DEL
- The following response is returned:
Connection 'con02' deleted
- Issue the following request on one
line: