code: def delete(self, id, **kwargs):
          
          if id is None:
              path = self.path
          else:
              if not isinstance(id, int):
                  id = id.replace('/', '%2F')
              path = '%s/%s' % (self.path, id)
          self.gitlab.http_delete(path, **kwargs)
docs: Delete an object on the server.
  
          Args:
              id: ID of the object to delete
              **kwargs: Extra options to send to the server (e.g. sudo)
  
          Raises:
              GitlabAuthenticationError: If authentication is not correct
              GitlabDeleteError: If the server cannot perform the request