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
Hi arun,
That error message implies an issue with the authentication type. Have you tried to use workspace access token or OAuth Token?
Please also provide the cURL command you're executing (minus the GPG key) so I can take a look at the formatting/syntax.
Cheers!
- Ben (Bitbucket Cloud Support)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.