code: def delete(self):
          
          if 'delete' in self._URL:
              extra = {'resource': self.__class__.__name__, 'query': {
                  'id': self.id}}
              logger.info("Deleting {} resource.".format(self), extra=extra)
              self._api.delete(url=self._URL['delete'].format(id=self.id))
          else:
              raise SbgError('Resource can not be deleted!')
docs: Deletes the resource on the server.