| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent e789cee commit 41f141d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -854,12 +854,6 @@ def enable(self, key_id): | |||
| 854 | 854 | r = self.gitlab._raw_post(url) | |
| 855 | 855 | raise_error_from_response(r, GitlabProjectDeployKeyError, 201) | |
| 856 | 856 | ||
| 857 | - def disable(self, key_id): | ||
| 858 | - """Disable a deploy key for a project.""" | ||
| 859 | - url = '/projects/%s/deploy_keys/%s/disable' % (self.parent.id, key_id) | ||
| 860 | - r = self.gitlab._raw_delete(url) | ||
| 861 | - raise_error_from_response(r, GitlabProjectDeployKeyError, 200) | ||
| 862 | - | ||
| 863 | 857 | ||
| 864 | 858 | class ProjectEvent(GitlabObject): | |
| 865 | 859 | _url = '/projects/%(project_id)s/events' | |
| Back | FazBrowse Home | New Git URL |
0 commit comments