Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added delete key method to UserKeys.js #41

Merged
merged 2 commits into from
Feb 8, 2018

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