diff options
Diffstat (limited to 'gitlab.py')
-rw-r--r-- | gitlab.py | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -549,6 +549,15 @@ class User(GitlabObject): 'extern_uid', 'provider', 'bio'] +class UserKey(GitlabObject): + _url = '/users/%(user_id)s/keys' + canGet = False + canList = False + canUpdate = False + canDelete = False + requiredCreateAttrs = ['user_id', 'title', 'key'] + + class CurrentUserKey(GitlabObject): _url = '/user/keys' canUpdate = False |