This is the documentation page for an unsupported version of Zabbix.
Is this not what you were looking for? Switch to the current version or choose one from the drop-down menu.

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.

Приклади

Deleting multiple connectors

Delete two connector entries.

Request:

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

Response:

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

Source

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

To toggle search highlight, press Ctrl+Alt+H
Have an improvement suggestion for this page? Select the text that could be improved and press Ctrl+Enter to send it to the editors.