Add the "deploy-keys" API endpoint back for team accounts

Issue #17362 resolved
Leonardo Montiel
staff created an issue

Although this endpoint has been deprecated for API v2 (https://developer.atlassian.com/cloud/bitbucket/deprecation-notice-v1-apis/?_ga=2.181452386.417879656.1531244294-1231042520.1527887148), there are some integrations that use deploy-keys to integrate with Bitbucket team accounts, such as Codacy.

Since the API v2 deprecates the deploy-keys endpoint, there is currently no way to automate the integration with such applications with deploy-keys for team accounts.

It would be great if this endpoint could be implemented for team accounts as well.