code: def edit_profile(self, uuid, **kwargs):
          
          try:
              api.edit_profile(self.db, uuid, **kwargs)
              uid = api.unique_identities(self.db, uuid)[0]
  
              self.display('profile.tmpl', uid=uid)
          except (NotFoundError, InvalidValueError) as e:
              self.error(str(e))
              return e.code
  
          return CMD_SUCCESS
docs: Edit unique identity profile.
  
          This method allows to edit or update the profile information of the
          unique identity identified by <uuid>. It calls to the api
          'edit_profile' function, so basically receives the same arguments.
          See API documentation for more info.
  
          When no other parameters than <uuid> is given, the command will
          show the current information stored on the profile.