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:
<span>{</span>
<span>"type"</span><span>:</span> <span>"error"</span><span>,</span>
<span>"error"</span><span>:</span> <span>{</span>
<span>"message"</span><span>:</span> <span>"Token is invalid or not supported for this endpoint."</span>
<span>}</span>
<span>}</span>
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