connector.delete

Description

object connector.delete(array connectorids)

This method allows to delete connector entries.

This method is only available to Super admin user type. Permissions to call the method can be revoked in user role settings. See User roles for more information.

Parameters

(array) IDs of the connectors to delete.

Return values

(object) Returns an object containing the IDs of the deleted connectors under the connectorids property.

Examples

Deleting multiple connectors

Delete two connector entries.

Request:

{
           "jsonrpc": "2.0",
           "method": "connector.delete",
           "params": [
               3,
               5
           ],
           "id": 1
       }

Response:

{
           "jsonrpc": "2.0",
           "result": {
               "connectorids": [
                   "3",
                   "5"
               ]
           },
           "id": 1
       }

Source

CConnector::delete() in ui/include/classes/api/services/CConnector.php.