proxy.delete

Description

object proxy.delete(array **proxies**)

This method allows to delete proxies.

Parameters

(array) IDs of proxies to delete.

Return values

(object) Returns an object containing the IDs of the deleted proxies under the proxyids property.

Examples

Delete multiple proxies

Delete two proxies.

Request:

  1. {
  2. "jsonrpc": "2.0",
  3. "method": "proxy.delete",
  4. "params": [
  5. "10286",
  6. "10285"
  7. ],
  8. "auth": "3a57200802b24cda67c4e4010b50c065",
  9. "id": 1
  10. }

Response:

  1. {
  2. "jsonrpc": "2.0",
  3. "result": {
  4. "proxyids": [
  5. "10286",
  6. "10285"
  7. ]
  8. },
  9. "id": 1
  10. }

Source

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