Skip to content

Comments

Added delete key method to UserKeys.js#41

Merged
jdalrymple merged 2 commits intojdalrymple:masterfrom
claude-abounegm:master
Feb 8, 2018
Merged

Added delete key method to UserKeys.js#41
jdalrymple merged 2 commits intojdalrymple:masterfrom
claude-abounegm:master

Conversation

@claude-abounegm
Copy link
Contributor

@claude-abounegm claude-abounegm commented Feb 8, 2018

Just a small edit to UserKeys.js which allows to delete an SSH key from a User.

Usage

await gitlabApi.users.keys.remove(userId, userKey);

Gitlab Docs

https://docs.gitlab.com/ce/api/users.html#delete-ssh-key-for-given-user

Just a small edit to UserKeys.js which allows to delete an SSH key from a User.

# Usage
`await gitlabApi.users.keys.delete(userId, userKey);`

# Gitlab Docs
https://docs.gitlab.com/ce/api/users.html#delete-ssh-key-for-given-user
@jdalrymple jdalrymple merged commit cfe1f67 into jdalrymple:master Feb 8, 2018
@jdalrymple
Copy link
Owner

Woo thanks!! I'll release later this week !

@claude-abounegm
Copy link
Contributor Author

Awesome, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants