Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

What is the correct authenication method for the Delete repository permission group endpoint?

Alex White October 21, 2024

I am trying to make a DELETE API request to the endpoint /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug}, as per the documentation I have created an App Password and am trying to make the request using the Bearer token but I get the following response:

{
	"type": "error",
	"error": {
		"message": "Token is invalid or not supported for this endpoint."
	}
}

I set the scopes for the token as below and I am workspace admin, but I have so far been unsuccessful making this request.

  • Project:Read
  • Project:Write
  • Project:Admin
  • Repository:Read
  • Repository:Write
  • Repository:Admin

 

1 answer

0 votes
Peter Van de Voorde
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
October 21, 2024

Hi @Alex White ,

I would recommend asking this question in the Atlassian Developer Community here: https://community.developer.atlassian.com

That community is focussed on developers building apps for the Atlassian platform, they will have more experience with calling APIs and helping you figure out this problem.

Cheers,
Peter

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events