Skip to content

Enable unauthenticated access to public SSH keys via the API

Summary

I try to get my ssh key with the api consulting the follow url https://gitlab.com/api/v3/users/1115660/keys but the response show one message 403 Forbidden

Nevertheless when consulting another url for get my ssh key https://gitlab.com/JesusZapata.keys the response are my ssh key's

Steps to reproduce

Goto https://gitlab.com/api/v3/users/1115660/keys and see message 403 Forbidden

What is the current bug behavior?

The URL https://gitlab.com/api/v3/users/1115660/keys no show my ssh key's

What is the expected correct behavior?

The URL https://gitlab.com/api/v3/users/1115660/keys show my ssh key's

Edited by Mark Fletcher