def delete(self) :
        """Permanently remove the user"""
        if not self.URL :
            raise CreationError("Please save user first", None, None)

        r = self.connection.session.delete(self.URL)
        if r.status_code < 200 or r.status_code > 202 :
            raise DeletionError("Unable to delete user, url: %s, status: %s" %(r.url, r.status_code), r.content )

        self.URL = None
def delete ( self ) : if not self . URL : raise CreationError ( "Please save user first" , None , None ) r = self . connection . session . delete ( self . URL ) if r . status_code < 200 or r . status_code > 202 : raise DeletionError ( "Unable to delete user, url: %s, status: %s" % ( r . url , r . status_code ) , r . content ) self . URL = None
Permanently remove the user