Hi,
I’ve been trying to add GPG using the REST API. I’ve tried creating an app password from my personal settings and checking on the organisation level to get the API key with the scope account:admin. However, when I give the user’s UUID, I always get the same response: “getting invalid token or not supported endpoint”.
Here’s the link to the API documentation: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-gpg/#api-group-gpg
Could you please suggest a proper REST API that we can use? We’ve enabled signed commits, and we want to automate the process of adding GPG keys and making signed commits using Jenkins. Additionally, we’d like to be able to delete signed commits every time.
suggest here