Creating SSH Key from API


We used to create ssh key using the following end-point:{user}/ssh-keys

Suddently, we started to receive “This API has been deprecated and is not available through OAuth2 or JWT”

Is there a work-around on this ?

Kind Regards,
Franics L.

Hi Francis,

If are trying to create an SSH key on Bitbucket Cloud you can use the following line:{accountname}/ssh-keys --data "key=value"

For further reading regarding the use of SSH leys via API version 1 you can check the link below: