avoid loop when deleting a resource
This commit is contained in:
parent
fc90cd9505
commit
5b0834a3ba
64 changed files with 126 additions and 126 deletions
|
|
@ -21,7 +21,7 @@ class CircuitTerminations extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/circuits/circuit-terminations/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class CircuitTypes extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/circuits/circuit-types/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Circuits extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/circuits/circuits/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Providers extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/circuits/providers/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Cables extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/cables/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ConsolePortTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/console-port-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ConsolePorts extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/console-ports/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ConsoleServerPortTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/console-server-port-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ConsoleServerPorts extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/console-server-ports/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class DeviceBayTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/device-bay-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class DeviceBays extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/device-bays/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class DeviceRoles extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/device-roles/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class DeviceTypes extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/device-types/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Devices extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/devices/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class FrontPortTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/front-port-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class FrontPorts extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/front-ports/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class InterfaceTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/interface-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Interfaces extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/interfaces/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class InventoryItems extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/inventory-items/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Manufacturers extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/manufacturers/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Platforms extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/platforms/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class PowerFeeds extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/power-feeds/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class PowerOutletTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/power-outlet-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class PowerOutlets extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/power-outlets/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class PowerPanels extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/power-panels/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class PowerPortTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/power-port-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class PowerPorts extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/power-ports/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class RackGroups extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/rack-groups/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class RackReservations extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/rack-reservations/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class RackRoles extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/rack-roles/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Racks extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/racks/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class RearPortTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/rear-port-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class RearPorts extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/rear-ports/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Regions extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/regions/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Sites extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/sites/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class VirtualChassis extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/dcim/virtual-chassis/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ConfigContexts extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/extras/config-contexts/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class CustomFields extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/extras/custom-fields/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ExportTemplates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/extras/export-templates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ImageAttachments extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/extras/image-attachments/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Tags extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/extras/tags/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Aggregates extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/aggregates/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class IpAddresses extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/ip-addresses/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Prefixes extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/prefixes/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Rirs extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/rirs/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Roles extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/roles/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class RouteTargets extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/route-targets/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Services extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/services/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class VlanGroups extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/vlan-groups/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Vlans extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/vlans/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Vrfs extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/ipam/vrfs/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class SecretRoles extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/secrets/secret-roles/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Secrets extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/secrets/secrets/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class TenantGroups extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/tenancy/tenant-groups/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Tenants extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/tenancy/tenants/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Groups extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/users/groups/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Permissions extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/users/permissions/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class Users extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/users/users/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ClusterGroups extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/virtualization/cluster-groups/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class ClusterTypes extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/virtualization/cluster-types/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Clusters extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/virtualization/clusters/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class Interfaces extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/virtualization/interfaces/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ class VirtualMachines extends AbstractApi
|
|||
* @return mixed
|
||||
* @throws \GuzzleHttp\Exception\GuzzleException
|
||||
*/
|
||||
public function delete($id, $params=[])
|
||||
public function remove($id, $params=[])
|
||||
{
|
||||
return $this->delete("/virtualization/virtual-machines/".$id."/", $params);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue