Use this API to delete vrid.
328783
public static base_response delete(nitro_service client, vrid resource) throws Exception {
		vrid deleteresource = new vrid();
		deleteresource.id = resource.id;
		deleteresource.all = resource.all;
		return deleteresource.delete_resource(client);
	}
759540
def delete(self, ids):
        
        url = build_uri_with_ids('api/v3/ipv4/%s/', ids)

        return super(ApiIPv4, self).delete(url)
641149
def delete(self, ids):
        
        url = build_uri_with_ids('api/v3/environment-vip/%s/', ids)
        return super(ApiEnvironmentVip, self).delete(url)
723615
protected function deletePrevious()
    {
        $this->rrmdir($this->getApiDestination());
        $this->rrmdir($this->getWpApiDestination());
        $this->rrmdir($this->getWpdocDestination());
    }
454774
def delete(self, ids):
        
        url = build_uri_with_ids('api/v4/ipv6/%s/', ids)
        return super(ApiV4IPv6, self).delete(url)
187914
async def delete(self):
        """"""
        if self.id == self._origin.Space._default_space_id:
            raise DeleteDefaultSpace("Cannot delete default space.")
        await self._handler.delete(id=self.id)
740979
def delete(ids, force):
    """"""
    records_deprecation_warning()

    from .api import Record
    for id_ in ids:
        record = Record.get_record(id_, with_deleted=force)
        record.delete(force=force)
    db.session.commit()
292486
def delete_service(self, service_id):
        

        svc = self.client['Network_Application_Delivery_Controller_'
                          'LoadBalancer_Service']

        return svc.deleteObject(id=service_id)
959035
def app_delete(self, id, **kwargs):
        ""
        api_path = "/api/v2/apps/{id}.json"
        api_path = api_path.format(id=id)
        return self.call(api_path, method="DELETE", **kwargs)
922424
def delete(gandi, g, key):
    """"""
    gandi.delete(global_=g, key=key)
720783
def delete(self, ids):
        
        url = build_uri_with_ids('api/v4/equipment/%s/', ids)
        return super(ApiV4Equipment, self).delete(url)
534241
def delete(self, id):
        
        url = self._url('%s' % (id))
        return self.client.delete(url)
272019
def delete(self, resource_id, **kwargs):
        

        return self.client._delete(self._url(resource_id), **kwargs)
636422
def delete(self, resource_id):
        

        endpoint = '{}/{}'.format(self.endpoint, resource_id)

        response = self.api.execute("DELETE", endpoint)

        if not response.ok:
            raise Error.parse(response.json())

        return self._cls.parse(response.json())
609755
def remove_uid(self, uid):
        
        for sid in self.get('uid2sid', uid):
            self.remove('sid2uid', sid, uid)
        self.delete('uid2sid', uid)
328562
def delete(self):
        
        self.requester.delete(
            '/{endpoint}/{id}', endpoint=self.endpoint,
            id=self.id
        )
        return self
531312
async def delete(self):
        """"""
        # Since the VID can be changed for the VLAN, we always use the vid
        # from the original data. That way if the user changes the vid the
        # delete still works, until the VLAN has been saved.
        await self._handler.delete(
            fabric_id=self.fabric.id, vid=self._orig_data['vid'])