def addsshkeyuser(self, user_id, title, key):
        data = {"title": title, "key": key}

        request = requests.post("{0}/{1}/keys".format(self.users_url, user_id),
                                headers=self.headers, data=data, verify=self.verify_ssl, auth=self.auth, timeout=self.timeout)
        if request.status_code == 201:
            return True
        else:
            return False
Add a new ssh key for the user identified by id
dataset/ETHPy150Open pyapi-gitlab/pyapi-gitlab/gitlab/__init__.py/Gitlab.addsshkeyuser