Cannot remove deploy key

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

  • Close this issue

Summary

In reference of -> gitlab-org/gitlab-ce#1586

Steps to reproduce

Try to remove a deploy key: Bildschirmfoto_2017-03-07_um_18.52.19

What is the current bug behavior?

404 is raised

https://gitlab.example.com///deploy_keys/11/disable

Bildschirmfoto_2017-03-07_um_18.53.58

What is the expected correct behavior?

Deploy key should be removed from the users namespace

Relevant logs and/or screenshots

169.254.254.10 - - [07/Mar/2017:18:53:16 +0100] "POST /<namespace>/<project>/deploy_keys/11/disable HTTP/2.0" 404 3002 "https://gitlab.example.com/<namespace>/<project>/deploy_keys" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.12; rv:51.0) Gecko/20100101 Firefox/51.0"`

Output of checks

Results of GitLab environment info

(For installations with omnibus-gitlab package run and paste the output of:

System information
System:		
Proxy:		no
Current User:	git
Using RVM:	no
Ruby Version:	2.3.3p222
Gem Version:	2.6.6
Bundler Version:1.13.7
Rake Version:	10.5.0
Redis Version:	3.2.5
Sidekiq Version:4.2.7

GitLab information
Version:	8.17.2-ee
Revision:	474978d
Directory:	/opt/gitlab/embedded/service/gitlab-rails
DB Adapter:	postgresql
DB Version:	9.6.1
URL:		https://gitlab.example.com
HTTP Clone URL:	https://gitlab.example.com/some-group/some-project.git
SSH Clone URL:	git@gitlab.example.com:some-group/some-project.git
Elasticsearch:	no
Geo:		no
Using LDAP:	yes
Using Omniauth:	no

GitLab Shell
Version:	4.1.1
Repository storage paths:
- default: 	/var/opt/gitlab/git-data/repositories
Hooks:		/opt/gitlab/embedded/service/gitlab-shell/hooks/
Git:		/opt/gitlab/embedded/bin/git

Results of GitLab application Check

Checking GitLab ... Finished

(do want to print our ldap users)

Possible fixes

me guess would be in direction of -> gitlab-org/gitlab-ce#1586

Edited Sep 29, 2025 by 🤖 GitLab Bot 🤖
Assignee Loading
Time tracking Loading