Hello,
We used to create ssh key using the following end-point:
https://api.bitbucket.org/1.0/users/{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.
lmoura
2
Hi Francis,
If are trying to create an SSH key on Bitbucket Cloud you can use the following line:
https://api.bitbucket.org/1.0/users/{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:
https://confluence.atlassian.com/bitbucket/ssh-keys-resource-296911735.html