[comment]: # ({15323fb3-3167b042})
# proxygroup.delete

[comment]: # ({/15323fb3-3167b042})

[comment]: # ({0b44d3d2-2d6036ba})
### Description

`object proxygroup.delete(array proxyGroupIds)`

This method allows to delete proxy groups.

::: noteclassic
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](/manual/web_interface/frontend_sections/users/user_roles) for more information.
:::

[comment]: # ({/0b44d3d2-2d6036ba})

[comment]: # ({51194c63-f0765789})
### Parameters

`(array)` IDs of proxy groups to delete.

[comment]: # ({/51194c63-f0765789})

[comment]: # ({caf9ac25-b11b4fc8})
### Return values

`(object)` Returns an object containing the IDs of the deleted proxy groups under the `proxy_groupids` property.

[comment]: # ({/caf9ac25-b11b4fc8})

[comment]: # ({b41637d2-808ae123})
### Examples

[comment]: # ({/b41637d2-808ae123})

[comment]: # ({ab53f545-4a545501})
#### Delete multiple proxy groups

Delete two proxy groups.

[Request](/manual/api#performing-requests):

```json
{
    "jsonrpc": "2.0",
    "method": "proxygroup.delete",
    "params": [
        "5",
        "10"
    ],
    "id": 1
}
```

Response:

```json
{
    "jsonrpc": "2.0",
    "result": {
        "proxy_groupids": [
            "5",
            "10"
        ]
    },
    "id": 1
}
```

[comment]: # ({/ab53f545-4a545501})

[comment]: # ({5898f959-5539974b})
### Source

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

[comment]: # ({/5898f959-5539974b})
